diff -r 37b7dfc3eae6 -r 0224ce40792f demo_menu.py --- 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!')