Next Previous Up Top Contents Index

8.10 Gadgets that can have children

8.10.1 Menus and menu bars

You can define a system of menus for a DUIM application by creating a hierarchy of menu bar, menu, and menu button objects. Menu bars can be defined for any application written using DUIM using the <menu-bar> class. For most applications, a single menu bar is defined for each window in the application that contains a system of menus. Each menu bar contains a number of menus: the children of the menu bar. Each menu in an application is an instance of the <menu> class. The menus of an application can be populated using several different classes of gadget, all of which are subclasses of the <menu-button> class.


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index