changeset 42 | 0224ce40792f |
parent 41 | 37b7dfc3eae6 |
child 45 | 43b2279b06e1 |
--- a/demo_menu.py Sat Dec 29 12:16:06 2012 +0100 +++ b/demo_menu.py Sun Dec 30 13:03:29 2012 +0100 @@ -4,7 +4,7 @@ import locale locale.setlocale(locale.LC_ALL, '') -from tuikit import * +from tuikit import Application, MenuBar, Menu, Window, VerticalLayout class MyApplication(Application): @@ -48,8 +48,7 @@ ('Help', helpmenu), ]) - vert = VerticalLayout() - self.top.layout(vert) + self.top.layout = VerticalLayout() #button = Button('click!')