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

Safe HaskellNone
LanguageHaskell98

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 Source # 

Methods

(==) :: Label -> Label -> Bool #

(/=) :: Label -> Label -> Bool #

Destroyable Label Source #

A label widget can be destroyed.

Methods

destroy :: Label -> IO () #

Synchronized Label Source #

You can synchronize on a label object.

Methods

synchronize :: Label -> IO b -> IO b #

GUIObject Label Source #

Internal.

HasJustify Label Source #

A label has a configureable text justification.

HasUnderline Label Source #

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

HasFont Label Source #

You can specify the font of a label.

HasBorder Label Source #

A label widget has a configureable border.

HasSize Label Source #

You can specify the size of a label.

HasColour Label Source #

A label widget has a foreground and background colour.

HasAnchor Label Source #

A label has a text anchor.

HasTooltip Label Source #

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

Widget Label Source #

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

HasPhoto Label Source #

A label can contain an image.

HasBitMap Label Source #

A label can contain a bitmap.

GUIValue b => HasText Label b Source #

A label can contain text.

Methods

text :: b -> Config Label Source #

getText :: Label -> IO b Source #

newLabel Source #

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.