Mercurial > urwid-satext
changeset 43:e49d8f289a73
menu example: ortho fix in comments :)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 20 Feb 2011 00:41:21 +0100 |
parents | 585302e84c1f |
children | 9fc778aab7f5 |
files | examples/menu.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/menu.py Sun Feb 20 00:37:54 2011 +0100 +++ b/examples/menu.py Sun Feb 20 00:41:21 2011 +0100 @@ -46,7 +46,7 @@ _menu1 = "Menu 1" self.menu.addMenu(_menu1, "Item 1", self.menu_cb) #Adding a menu is quite easy self.menu.addMenu(_menu1, "Item 2", self.menu_cb) #Here the callback is always the same, - self.menu.addMenu(_menu1, "Item 3", self.menu_cb) #but you use differents one in real life :) + self.menu.addMenu(_menu1, "Item 3", self.menu_cb) #but you use different ones in real life :) self.menu.addMenu(_menu1, "Exit (C-x)", self.exit_cb, 'ctrl x') #You can also add a shortcut _menu2 = "Menu 2" self.menu.addMenu(_menu2, "Item 1", self.menu_cb)