ClassPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Moderately revised from 9.0.
9.0 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 has had moderate revisions compared to the 9.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Moderately revised from 9.0.
9.0 version