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

HTk.Widgets.Message

Description

HTk's strongmessage widget/strong.br A message widget is a simple container for text.

Synopsis

Documentation

data Message Source

The Message datatype.

Instances

Eq Message 
Destroyable Message

A message widget can be destroyed.

Synchronized Message

You can synchronize on a message object (in JAVA style).

GUIObject Message

Internal.

HasJustify Message

A message widget has a configureable text justification.

HasFont Message

You can specify the font of a message widget.

HasBorder Message

A message widget has a configureable border.

HasSize Message

You can specify the width of a message widget (height configuration is ignored).

HasColour Message

A message widget has a foreground and background colour.

HasAnchor Message

An message widget has a text anchor.

HasTooltip Message

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

Widget Message

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

GUIValue b => HasText Message b

A message widget can contain text.

newMessageSource

Arguments

:: Container par 
=> par

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

-> [Config Message]

the list of configuration options for this message widget.

-> IO Message

A message widget.

Constructs a new message widget and returns a handler.

aspect :: Int -> Config MessageSource

Sets the aspect of a message widget (100 * width / height).

getAspectSource

Arguments

:: Message

the concerned message widget.

-> IO Int

The current aspect of this message widget.

Gets the aspect froma message widget.