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