ClassPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

menu-item

The class of menu-item objects. A menu-item is created by calling make-instance, specifying the menu-item class or some subclass of it.

Here is a list of the properties of a menu-item; each can be specified at creation time by passing the corresponding keyword initarg to make-instance:

Here is a typical menu-item creation form:

(make-instance 'menu-item
  :name :help
  :title "~Help"
  :value 'show-help
  :help-string "Shows help on the selected thing."
  :event-synonym 'vk-f1)

A menu-item may be added to a menu when the menu is created by calling open-menu, or added later by calling add-to-menu.

See About how to get sample code for creating controls in cgide.htm, which explains how to use the IDE to create such code.

See also the menu chapter in the IDE User Guide.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version