| id = glutCreateMenu(func) | Starts defining a new menu (or submenu) |
| glutAddMenuEntry(label, value) | Adds a selectable entry to the current menu |
| glutAddSubMenu(label, id) | Adds a submenu to the current menu |
| glutAttachMenu(button) | Defines mouse button to pop-up the current menu |
Examples:
menu0.py
menu1.py
menu2.py