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

HTk.Toolkit.IconBar

Description

A simple icon bar containing buttons and separators.

Synopsis

Documentation

data IconBar Source

The IconBar datatype.

Instances

Eq IconBar

Internal.

Destroyable IconBar

An icon bar can be destroyed.

Synchronized IconBar

You can synchronize on an icon bar object.

GUIObject IconBar

Internal.

HasEnable IconBar

An icon bar is a stateful widget, it can be enabled or disabled.

HasOrientation IconBar

An icon bar has either a vertical or horizontal orientation.

HasBorder IconBar

An icon bar has a configureable border.

HasSize IconBar

An icon bar has a configureable size.

HasColour IconBar

An icon bar has a configureable foreground and background colour.

Widget IconBar

An icon bar has standard widget properties (concerning focus, cursor).

newIconBarSource

Arguments

:: Container par 
=> par

the parent widget (which has to be a container widget).

-> [Config IconBar]

the list of configuration options for this icon bar.

-> IO IconBar

An icon bar.

Creates a new icon bar and returns a handler.

addSeparatorSource

Arguments

:: IconBar

the concerned icon bar.

-> IO Separator

A separator.

Adds a separator at the end of the icon bar.

addButtonSource

Arguments

:: IconBar

the concerned icon bar.

-> [Config Button]

the list of configuration options for the button to add.

-> IO Button

A button.

Adds a button at the end of the icon bar.

data Button Source

The Button datatype.

Instances

Eq Button 
Destroyable Button

A button widget can be destroyed.

Synchronized Button

You can synchronize on a button object.

GUIObject Button

Internal.

HasEnable Button

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

HasJustify Button

A button has a configureable text justification.

HasUnderline Button

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

HasFont Button

You can specify the font of a button.

HasBorder Button

A button widget has a configureable border.

HasSize Button

You can specify the size of a button.

HasColour Button

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

HasAnchor Button

A button has a text anchor.

HasTooltip Button

A button can have a tooltip.

Widget Button

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

HasCommand Button

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

ButtonWidget Button

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

HasBitMap Button

A button widget can contain a bitmap.

HasPhoto Button

A button can contain an image.

GUIValue v => HasText Button v

A button can contain text.

getIconButtonsSource

Arguments

:: IconBar

the concerned icon bar.

-> IO [Button]

A list of the contained buttons.

Gets the buttons from an icon bar.

getIconBarItemsSource

Arguments

:: IconBar

the concerned icon bar.

-> IO [Either Frame Button]

Alist of the contained buttons and separators.

Gets the items from an icon bar.