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

HTk.Components.BitMap

Description

This module provides access to bitmap resources.

Synopsis

Documentation

data BitMap Source

The BitMap datatype.

Instances

Eq BitMap 
Destroyable BitMap

A bitmap object can be destroyed.

Synchronized BitMap

You can synchronize on a bitmap object.

GUIObject BitMap

Internal.

HasFile BitMap

Bitmaps can be read from files.

HasBorder BitMap

A bitmap object has a configureable border (if implicitely displayed inside a label widget).

HasSize BitMap

You can specify the size of the containing label, if the bitmap is implicitely displayed inside a label widget.

HasColour BitMap

A bitmap object has a configureable foreground and background colour (if implicitely displayed inside a label widget).

Widget BitMap

A bitmap object has standard widget properties (concerning focus, cursor / if implicitely displayed inside a label widget).

BitMapDesignator BitMap

Internal.

newBitMapSource

Arguments

:: [Config BitMap]

the list of configuration options for this bitmap object.

-> IO BitMap

A bitmap object.

Constructs a new bitmap object and returns a handler. The bitmap object can be packed like a widget, then it is implicitely displayed inside a label widget.

data BitMapHandle Source

The BitMapHandle datatype - a handle for a bitmap resource.

Instances

class GUIObject w => HasBitMap w whereSource

Containers for bitmaps instantiate the class HasBitMap.

Instances

HasBitMap MenuCascade

A menu cascade item can contain a bitmap (instead of text or an image).

HasBitMap MenuCheckButton

A menu checkbutton can contain a bitmap (instead of text or an image).

HasBitMap MenuCommand

A menu command can contain a bitmap (instead of text or an image).

HasBitMap MenuRadioButton

A menu radiobutton can contain a bitmap (instead of text or an image).

HasBitMap Button

A button widget can contain a bitmap.

HasBitMap BitMapItem

A bitmap item is a container for a bitmap object.

HasBitMap Label

A label can contain a bitmap.

HasBitMap MenuButton

A menubutton widget can contain a bitmap.

Window w => HasBitMap (Icon w)

You can the the corresponding bitmap for an icon.

HasBitMap (CheckButton a)

A checkbutton widget can contain a bitmap.

HasBitMap (RadioButton a)

A radiobutton widget can contain a bitmap.

class BitMapDesignator d whereSource

Internal.

Instances

BitMapDesignator BitMap

Internal.

BitMapDesignator BitMapHandle

Internal.

BitMapDesignator [Char]

A string is a handle for a bitmap file.

errmap :: BitMapHandleSource

A handle for the predefined "error" bitmap.

gray50 :: BitMapHandleSource

A handle for the predefined "gray50" bitmap.

gray25 :: BitMapHandleSource

A handle for the predefined "gray25" bitmap.

hourglass :: BitMapHandleSource

A handle for the predefined "hourglass" bitmap.

info :: BitMapHandleSource

A handle for the predefined "info" bitmap.

questhead :: BitMapHandleSource

A handle for the predefined "questhead" bitmap.

question :: BitMapHandleSource

A handle for the predefined "question" bitmap.

warning :: BitMapHandleSource

A handle for the predefined "warning" bitmap.

setBitMapHandle :: GUIObject w => w -> ConfigID -> BitMapHandle -> Bool -> IO wSource

Internal.