PPT Slide
Gnome provides a struct named GnomeUIInfo for the creation of menu items. Individual fields of GnomeUIInfo can be filled:
- using macros: GNOMEUIINFO_SUBTREE()
Gnome uses the same technique for defining both. It supplies convenience functions and data structures to standardize the definition of menus/toolbars.