DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Using Submenu

07.01.2005
| 2188 views |
  • submit to reddit
        
appuifw.app.menu = [(u"item 1", item1),
  (u"Submenu 1", ((u"sub item 1", subitem1),
  (u"sub item 2", subitem2) ))
]
# item1, subitem1, subitem2 are callback