diff -r 729fcdfe6b57 -r fccca2a60492 demo_colors.py --- a/demo_colors.py Tue Jan 08 23:59:55 2013 +0100 +++ b/demo_colors.py Wed Jan 09 22:32:15 2013 +0100 @@ -4,7 +4,7 @@ import locale locale.setlocale(locale.LC_ALL, '') -from tuikit import Application, Label, VerticalLayout +from tuikit import Application, Window, Label, VerticalLayout class MyApplication(Application): @@ -12,6 +12,10 @@ Application.__init__(self) self.top.add_handler('keypress', self.on_top_keypress) + win = Window() + self.top.add(win) + win.layout = VerticalLayout() + for attr in ['blink', 'bold', 'standout', 'underline']: label = Label(attr) label.color = 'test-' + attr