Class Fox::FXMenuCommand
In: rdoc-sources/FXMenuCommand.rb
Parent: FXMenuCaption

The FXMenuCommand widget is used to invoke a command in the application from a menu. Menu commands may reflect the state of the application by graying out or becoming hidden.

Events

The following messages are sent by FXMenuCommand to its target:

SEL_KEYPRESS:sent when a key goes down; the message data is an FXEvent instance.
SEL_KEYRELEASE:sent when a key goes up; the message data is an FXEvent instance.
SEL_COMMAND:sent when the command is activated

Methods

new  

Attributes

accelText  [RW]  Accelerator text [String]

Public Class methods

[Validate]