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