--- a/demo_checkbox.py Thu Jan 10 00:03:34 2013 +0100
+++ b/demo_checkbox.py Fri Jan 18 22:36:50 2013 +0100
@@ -4,16 +4,15 @@
import locale
locale.setlocale(locale.LC_ALL, '')
-from tuikit import *
+from tuikit import Application, VerticalLayout, ComboBox, Checkbox
class MyApplication(Application):
def __init__(self):
Application.__init__(self)
+ self.top = VerticalLayout(homogeneous=False)
self.top.add_handler('keypress', self.on_top_keypress)
- self.top.layout = VerticalLayout(homogeneous=False)
-
combo = ComboBox(items=['abc', 'xyz'])
self.top.add(combo)