demos/03_application.py
changeset 87 ee5ea9671f28
parent 86 0978fb755d31
child 89 94f5baef19ac
equal deleted inserted replaced
86:0978fb755d31 87:ee5ea9671f28
     2 
     2 
     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 
     8 
       
     9 label = Label('Hello there!')
       
    10 label.pos.update(20, 10)
     8 
    11 
     9 app = Application()
    12 app = Application()
       
    13 app.root_window.add(label)
    10 app.start()
    14 app.start()