| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Kernel.TkVariables
Description
- ----------------------------------------------------------------------
- module HTk.Kernel.TkVariables
- author: ludi
- --------------------------------------------------------------------
Documentation
newtype GUIValue a => TkVariable a Source #
Constructors
| TkVariable ObjectID |
class GUIObject w => HasVariable w where Source #
Methods
variable :: TkVariable v -> Config w Source #
Instances
| HasVariable MenuCheckButton Source # | The polymorphic variable the menu checkbutton's value is associated with. |
| HasVariable MenuRadioButton Source # | The polymorphic variable the menu radiobutton's value is associated with. |
| HasVariable (Entry a) Source # | The value of an entry field is associated with a polymorphic variable. |
| HasVariable (CheckButton a) Source # | A checkbutton has a value, that corresponds to a polymorphic
The polymorphic variable the checkbutton's value is associated with. |
| HasVariable (RadioButton a) Source # | The radiobutton's value is associated with a polymorphic
|
createTkVariable :: GUIValue a => a -> IO (TkVariable a) Source #
readTkVariable :: GUIValue a => TkVariable a -> IO a Source #
setTkVariable :: GUIValue a => TkVariable a -> a -> IO () Source #