HTk's menu command. A simple command inside a menu.
- data MenuCommand
- createMenuCommand :: Menu -> [Config MenuCommand] -> IO MenuCommand
Documentation
data MenuCommand Source
The MenuCommand
datatype.
Eq MenuCommand | Internal. |
Synchronized MenuCommand | You can synchronize on a menu command. |
GUIObject MenuCommand | Internal. |
HasEnable MenuCommand | A menu command is a stateful object, it can be enabled or disabled. |
HasJustify MenuCommand | A menu command has a configureable text justification. |
HasUnderline MenuCommand | You can set the index of a text character to underline. |
HasFont MenuCommand | You can specify the font of a menu command. |
HasBorder MenuCommand | A menu command has a configureable border. |
HasSize MenuCommand | You can specify the size of a menu command. |
HasColour MenuCommand | A menu command has a normal foreground and background colour and an active/disabled foreground and background colour. |
HasCommand MenuCommand | When a menu command is clicked, a corresponding event is invoked. |
HasBitMap MenuCommand | A menu command can contain a bitmap (instead of text or an image). |
HasPhoto MenuCommand | A menu command can contain an image (instead of text or a bitmap). |
HasAccelerator MenuCommand | A menu command has an optional text to display as a reminder about a keystroke binding. |
MenuItem MenuCommand | A menu command is a menu item (any menu item instantiates the
abstract |
HasIndicator MenuCommand | You can display an indicator with a menu command. |
GUIValue v => HasText MenuCommand v | A menu command can contain text (instead of an image or bitmap). |
:: Menu | the parent menu. |
-> [Config MenuCommand] | the list of configuration options for this menu command. |
-> IO MenuCommand | A menu command. |
Constructs a new menu command and returns a handler.