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

Safe HaskellNone
LanguageHaskell98

HTk.Widgets.RadioButton

Description

HTk's radiobutton widget. A simple radiobutton associated with a polymorphic variable.

Synopsis

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.

Methods

destroy :: RadioButton a -> IO () #

Synchronized (RadioButton a) Source #

You can synchronize on a radiobutton object.

Methods

synchronize :: RadioButton a -> IO b -> IO b #

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.

Methods

clicked :: RadioButton a -> IO (Event ()) Source #

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.

Methods

flash :: RadioButton a -> IO () Source #

invoke :: RadioButton a -> IO () Source #

HasVariable (RadioButton a) Source #

The radiobutton's value is associated with a polymorphic TkVariable.

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.

Methods

text :: v -> Config (RadioButton a) Source #

getText :: RadioButton a -> IO v Source #

GUIValue c => HasValue (RadioButton a) c Source #

A radiobutton has a value, that corresponds to a polymorphic TkVariable.

newRadioButton Source #

Arguments

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