Class Fox::FXOptionMenu
In: rdoc-sources/FXOptionMenu.rb
Parent: FXLabel

Option Menu

Events

The following messages are sent by FXOptionMenu 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_LEFTBUTTONPRESS:sent when the left mouse button goes down; the message data is an FXEvent instance.
SEL_LEFTBUTTONRELEASE:sent when the left mouse button goes up; the message data is an FXEvent instance.
SEL_COMMAND:sent when this an option is selected; the message data is the option number.

Methods

Attributes

current  [RW]  The current option, or nil if none [FXOption]
currentNo  [RW]  The current option number, or -1 if none [Integer]
menu  [RW]  The pane which will be popped up [FXPopup]

Public Class methods

Public Instance methods

Return a reference to the current option (an FXOption instance).

Get the current option number.

Return true if popped up

Set the current option.

Set the current option number.

[Validate]