equal
deleted
inserted
replaced
42 |
42 |
43 menu = Menu([('Copy', None), ('Paste', None)]) |
43 menu = Menu([('Copy', None), ('Paste', None)]) |
44 menubtn = MenuButton('MenuButton', menu) |
44 menubtn = MenuButton('MenuButton', menu) |
45 self.top.add(menubtn, halign='center', valign='center') |
45 self.top.add(menubtn, halign='center', valign='center') |
46 |
46 |
|
47 helpwin.bring_up() |
|
48 |
47 def on_top_keypress(self, ev): |
49 def on_top_keypress(self, ev): |
48 if ev.keyname == 'escape': |
50 if ev.keyname == 'escape': |
49 self.terminate() |
51 self.terminate() |
50 return True |
52 return True |
51 |
53 |