Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

<check-menu-button>

Open abstract instantiable class

Summary

The class of check buttons that can be displayed in a menu.

Superclasses

<menu-button>

Init-keywords

None.

Library

duim-gadgets

Module

duim-gadgets

Description

The class of check buttons that can be displayed in a menu. The values of a menu button is either #t or #f.

Figure 8.16 A check menu button

Internally, this class maps into the menu item Windows control.

Operations

None.

Example

contain
  (make(<check-menu-button>, 
        label: "Menu button", 
        activate-callback: 
          method (gadget) 
            notify-user(format-to-string
              ("Toggled button %=", gadget)) end));

See also

<check-button>, page 538

<radio-menu-button>, page 634


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index