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

Safe HaskellNone
LanguageHaskell98

HTk.Components.BitMap

Description

This module provides access to bitmap resources.

Synopsis

Documentation

data BitMap Source #

The BitMap datatype.

Instances

Eq BitMap Source # 

Methods

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

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

Destroyable BitMap Source #

A bitmap object can be destroyed.

Methods

destroy :: BitMap -> IO () #

Synchronized BitMap Source #

You can synchronize on a bitmap object.

Methods

synchronize :: BitMap -> IO b -> IO b #

GUIObject BitMap Source #

Internal.

HasFile BitMap Source #

Bitmaps can be read from files.

HasBorder BitMap Source #

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

HasSize BitMap Source #

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

HasColour BitMap Source #

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

Widget BitMap Source #

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

BitMapDesignator BitMap Source #

Internal.

newBitMap Source #

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.

class GUIObject w => HasBitMap w where Source #

Containers for bitmaps instantiate the class HasBitMap.

Instances

HasBitMap MenuCascade Source #

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

HasBitMap MenuCheckButton Source #

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

HasBitMap MenuCommand Source #

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

HasBitMap MenuRadioButton Source #

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

HasBitMap Button Source #

A button widget can contain a bitmap.

HasBitMap Label Source #

A label can contain a bitmap.

HasBitMap MenuButton Source #

A menubutton widget can contain a bitmap.

HasBitMap BitMapItem Source #

A bitmap item is a container for a bitmap object.

Window w => HasBitMap (Icon w) Source #

You can the the corresponding bitmap for an icon.

HasBitMap (CheckButton a) Source #

A checkbutton widget can contain a bitmap.

HasBitMap (RadioButton a) Source #

A radiobutton widget can contain a bitmap.

class BitMapDesignator d where Source #

Internal.

Minimal complete definition

toBitMap

Methods

toBitMap :: d -> BitMapHandle Source #

Instances

errmap :: BitMapHandle Source #

A handle for the predefined "error" bitmap.

gray50 :: BitMapHandle Source #

A handle for the predefined "gray50" bitmap.

gray25 :: BitMapHandle Source #

A handle for the predefined "gray25" bitmap.

hourglass :: BitMapHandle Source #

A handle for the predefined "hourglass" bitmap.

info :: BitMapHandle Source #

A handle for the predefined "info" bitmap.

questhead :: BitMapHandle Source #

A handle for the predefined "questhead" bitmap.

question :: BitMapHandle Source #

A handle for the predefined "question" bitmap.

warning :: BitMapHandle Source #

A handle for the predefined "warning" bitmap.

setBitMapHandle :: GUIObject w => w -> ConfigID -> BitMapHandle -> Bool -> IO w Source #

Internal.