Safe Haskell | None |
---|---|
Language | Haskell98 |
- ----------------------------------------------------------------------
- module HTk.Kernel.TkVariables
- author: ludi
- --------------------------------------------------------------------
Documentation
newtype GUIValue a => TkVariable a Source
class GUIObject w => HasVariable w where Source
Nothing
variable :: TkVariable v -> Config w Source
HasVariable MenuCheckButton | The polymorphic variable the menu checkbutton's value is associated with. |
HasVariable MenuRadioButton | The polymorphic variable the menu radiobutton's value is associated with. |
HasVariable (CheckButton a) | A checkbutton has a value, that corresponds to a polymorphic
The polymorphic variable the checkbutton's value is associated with. |
HasVariable (Entry a) | The value of an entry field is associated with a polymorphic variable. |
HasVariable (RadioButton a) | 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