equal
deleted
inserted
replaced
3 import sys |
3 import sys |
4 sys.path.append('..') |
4 sys.path.append('..') |
5 |
5 |
6 from tuikit.core.application import Application |
6 from tuikit.core.application import Application |
7 from tuikit.widgets.label import Label |
7 from tuikit.widgets.label import Label |
|
8 from tuikit.widgets.button import Button |
8 |
9 |
9 label = Label('Hello there!') |
10 label = Label('Hello there!') |
10 label.pos.update(20, 10) |
11 label.pos.update(20, 10) |
11 |
12 |
|
13 button = Button() |
|
14 button.pos.update(20, 20) |
|
15 |
12 app = Application() |
16 app = Application() |
13 app.root_window.add(label) |
17 app.root_window.add(label) |
|
18 app.root_window.add(button) |
14 app.start() |
19 app.start() |