|
|
|
|
|
| Description |
| HTk's menu command.
A simple command inside a menu. |
|
| Synopsis |
|
|
|
| Documentation |
|
| class (GUIObject w) => HasIndicator w where |
| Menu items that can have an indicator instantiate the
class HasIndicator. | | | Methods | | indicator :: Toggle -> Config w | | Displays/unmaps the items indicator. | | | getIndicator :: w -> IO Toggle | | On if an indicator is displayed with the item, otherwise
Off. |
| | | Instances | |
|
|
| class (GUIObject w) => HasAccelerator w where |
| Menu items can have an optional text to display as a reminder
about a keystroke binding. | | | Methods | | accelerator :: String -> Config w | | Sets the accelerator text. | | | getAccelerator :: w -> IO String | | Gets the accelerator text. |
| | | Instances | |
|
|
| data MenuCommand |
| The MenuCommand datatype. |
|
| createMenuCommand |
| :: 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. |
|
|
| Produced by Haddock version 0.3 |