|
Overview Scripts tileedit | leveledit | tganew | levelfancy Reference algo | ani | engine | fonts | high | html | layout | text | timer | vid Tutorials 1 | 2 | 3 | 4 | 5 GUI Ref. theme | style | widget | surface | const Containers container | app | table | document | area Forms form | group Widgets basic | button | input | keysym | slider | select | misc Other menus | dialog Tutorials 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
gui.menusMenus
A drop down menu bar.
Menus(data)
data = [
('File/Save',fnc_save,None),
('File/New',fnc_new,None),
('Edit/Copy',fnc_copy,None),
('Edit/Cut',fnc_cut,None),
('Help/About',fnc_help,help_about_content),
('Help/Reference',fnc_help,help_reference_content),
]
w = Menus(data)
|