Source codeContentsIndex
RadioButton
Description
HTk's radiobutton widget. A simple radiobutton associated with a polymorphic variable.
Synopsis
class (Widget w) => ButtonWidget w where
flash :: w -> IO ()
invoke :: w -> IO ()
data RadioButton a
newRadioButton :: (Container par) => par -> [Config (RadioButton a)] -> IO (RadioButton a)
Documentation
class (Widget w) => ButtonWidget w where
Button widgets instantiate the class ButtonWidget.
Methods
flash :: w -> IO ()
Flashes the given button widget.
invoke :: w -> IO ()
Invokes the given button widget.
Instances
ButtonWidget Button
ButtonWidget (CheckButton a)
ButtonWidget MenuButton
ButtonWidget (RadioButton a)
data RadioButton a
The RadioButton datatpe - it is associated with a polymorphic TkVariable.
newRadioButton
:: (Container par)
=> par the parent widget, which has to be a container widget (an instance of class Container).
-> [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.
Produced by Haddock version 0.3