| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Widgets.MenuButton
- data MenuButton
- newMenuButton :: Container par => par -> [Config MenuButton] -> IO MenuButton
Documentation
data MenuButton Source #
The MenuButton datatype.
Instances
| Destroyable MenuButton Source # | A menubutton widget can be destroyed. |
| Synchronized MenuButton Source # | You can synchronize on a menubutton object (in JAVA style). |
| GUIObject MenuButton Source # | Internal. |
| HasEnable MenuButton Source # | A menubutton widget is a stateful widget, it can be enabled or disabled. |
| HasJustify MenuButton Source # | A menu button has a configureable text justification. |
| HasUnderline MenuButton Source # | You can set the index of a text character to underline. |
| HasFont MenuButton Source # | You can specify the font of a menubutton. |
| HasBorder MenuButton Source # | A menubutton widget has a configureable border. |
| HasSize MenuButton Source # | You can specify the size of a menubutton. |
| HasColour MenuButton Source # | A menu button has a normal foreground and background colour and an active/disabled foreground and background colour. |
| HasAnchor MenuButton Source # | A menubutton has a text anchor. |
| HasTooltip MenuButton Source # | A menubutton can have a tooltip (only displayed if you are using tixwish). |
| Widget MenuButton Source # | A menubutton widget has standard widget properties (concerning focus, cursor). |
| HasCommand MenuButton Source # | When a menubutton is clicked, a corresponding event is invoked. |
| ButtonWidget MenuButton Source # | A menubutton widget can be flashed (redisplayed several times in alternate colours) and invoked (the associated event). |
| HasMenu MenuButton Source # | A menubutton is a menu container. |
| HasPhoto MenuButton Source # | A menubutton can contain an image. |
| HasBitMap MenuButton Source # | A menubutton widget can contain a bitmap. |
| GUIValue v => HasText MenuButton v Source # | A menubutton can contain text. |
Arguments
| :: Container par | |
| => par | the parent widget, which has to be a container widget
(an instance of |
| -> [Config MenuButton] | the list of configuration options for this menubutton. |
| -> IO MenuButton | A menubutton widget. |
Constructs a new menubutton widget and returns a handler.