equal
deleted
inserted
replaced
10 class MyApplication(Application): |
10 class MyApplication(Application): |
11 def __init__(self): |
11 def __init__(self): |
12 Application.__init__(self) |
12 Application.__init__(self) |
13 self.top.connect('keypress', self.on_top_keypress) |
13 self.top.connect('keypress', self.on_top_keypress) |
14 |
14 |
15 vert = VerticalLayout(homogeneous=False) |
15 self.top.layout = VerticalLayout(homogeneous=False) |
16 self.top.layout(vert) |
|
17 |
16 |
18 combo = ComboBox(items=['abc', 'xyz']) |
17 combo = ComboBox(items=['abc', 'xyz']) |
19 self.top.add(combo) |
18 self.top.add(combo) |
20 |
19 |
21 for i in range(10): |
20 for i in range(10): |