Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

<menu-bar>

Open abstract instantiable class

Summary

The class of menu bar gadgets.

Superclasses

<value-gadget> <multiple-child-composite-pane>

Init-keywords

update-callback:

An instance of type <function>.

Library

duim-gadgets

Module

duim-gadgets

Description

The class of menu bar gadgets.

Internally, this class maps into the Windows menu control.

Operations

frame-menu-bar-setter make

Example

The following example is similar to the example for <menu>, except that here, the menu bar object is explicitly defined. In the example for <menu>, it is created automatically by using contain:

*menu* := make(<menu-bar>, 
               children: 
                 vector(make(<menu>, 
                             label: "Hello",
                             children: vector
                               (make(<menu-button>,
                                     label: "World")
                               ))));

See also

<menu>, page 612


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index