changeset 89 | 94f5baef19ac |
parent 87 | ee5ea9671f28 |
child 92 | b97c4e25ed6d |
--- a/demos/03_application.py Tue Mar 18 22:39:21 2014 +0100 +++ b/demos/03_application.py Wed Mar 19 00:32:38 2014 +0100 @@ -5,10 +5,15 @@ from tuikit.core.application import Application from tuikit.widgets.label import Label +from tuikit.widgets.button import Button label = Label('Hello there!') label.pos.update(20, 10) +button = Button() +button.pos.update(20, 20) + app = Application() app.root_window.add(label) +app.root_window.add(button) app.start()