uni-htk-2.2.1.2: Graphical User Interface for Haskell Programs

Safe HaskellNone
LanguageHaskell98

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

Minimal complete definition

Nothing

Methods

variable :: TkVariable v -> Config w Source

Instances

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 TkVariable. instance GUIValue a => HasValue (CheckButton a) a No, it doesn't.

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 TkVariable.