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

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) 
Destroyable (RadioButton a)

A radiobutton widget can be destroyed.

Synchronized (RadioButton a)

You can synchronize on a radiobutton object.

GUIObject (RadioButton a)

Internal.

HasEnable (RadioButton a)

A radiobutton widget is a stateful widget, it can be enabled or disabled.

HasJustify (RadioButton a)

A radiobutton has a configureable text justification.

HasUnderline (RadioButton a)

You can set the index of a text character to underline.

HasFont (RadioButton a)

You can specify the font of a check button.

HasBorder (RadioButton a)

A radiobutton widget has a configureable border.

HasSize (RadioButton a)

You can specify the size of a radiobutton.

HasColour (RadioButton a)

A radiobutton widget has a normal foreground and background colour and an active/disabled foreground and background colour.

HasTooltip (RadioButton a)

A radiobutton can have a tooltip.

Widget (RadioButton a)

A radiobutton widget has standard widget properties (concerning focus, cursor).

HasCommand (RadioButton a)

When a radiobutton is clicked, a corresponding event is invoked.

ButtonWidget (RadioButton a)

A radiobutton widget can be flashed (redisplayed several times in alternate colours) and invoked (the associated event) as any button widget.

HasVariable (RadioButton a)

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

HasBitMap (RadioButton a)

A radiobutton widget can contain a bitmap.

HasPhoto (RadioButton a)

A radiobutton can contain an image.

GUIValue v => HasText (RadioButton a) v

A radiobutton can contain text.

GUIValue c => HasValue (RadioButton a) c

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

newRadioButtonSource

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.