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

HTk.Widgets.Label

Description

HTk's label widget. A label is a simple container for text or images/bitmaps.

Synopsis

Documentation

data Label Source

The Label datatype.

Instances

Eq Label 
Destroyable Label

A label widget can be destroyed.

Synchronized Label

You can synchronize on a label object.

GUIObject Label

Internal.

HasJustify Label

A label has a configureable text justification.

HasUnderline Label

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

HasFont Label

You can specify the font of a label.

HasBorder Label

A label widget has a configureable border.

HasSize Label

You can specify the size of a label.

HasColour Label

A label widget has a foreground and background colour.

HasAnchor Label

A label has a text anchor.

HasTooltip Label

A label widget can have a tooltip (only displayed if you are using tixwish).

Widget Label

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

HasBitMap Label

A label can contain a bitmap.

HasPhoto Label

A label can contain an image.

GUIValue b => HasText Label b

A label can contain text.

newLabelSource

Arguments

:: Container par 
=> par

the parent widget, which has to be a container widget (an instance of class Container).

-> [Config Label]

the list of configuration options for this label.

-> IO Label

A label widget.

Constructs a new label widget and returns a handler.