Name

OptionMenu —

Synopsis

optionMenuNew:: IO OptionMenu
optionMenuGetHistory:: OptionMenuClass om => om -> IO Int
optionMenuGetMenu:: OptionMenuClass om => om -> IO Menu
optionMenuRemoveMenu:: OptionMenuClass om => om -> IO ()
optionMenuSetHistory:: OptionMenuClass om => om -> Int -> IO ()
optionMenuSetMenu:: (OptionMenuClass om, MenuClass m) => om -> m -> IO ()
onOMChanged:: OptionMenuClass om => om -> IO () -> IO (ConnectId om)

Constructors

optionMenuNew

Create a new option menu.

optionMenuNew

Methods

optionMenuGetHistory

Retrieve the index of the selected item.

optionMenuGetHistory:: om:: IO Int
om

optionMenuGetMenu

Get the menu that should be associated with this option menu.

optionMenuGetMenu:: om:: IO Menu
om

optionMenuRemoveMenu

Remove the association the menu.

optionMenuRemoveMenu:: om:: IO ()
om

optionMenuSetHistory

Set the state of the option menu. The options are numbered from 0 up to n-1 for the nth item.

optionMenuSetHistory:: om:: Int:: IO ()
omitem

optionMenuSetMenu

Set a menu to associate with this option menu.

optionMenuSetMenu:: om:: m:: IO ()
omm

Signals

onOMChanged

This signal is called if the selected option has changed.

onOMChanged:: om:: IO ():: IO (ConnectId om)