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

Safe HaskellNone
LanguageHaskell98

HTk.Components.Icon

Description

This module provides access to window icons.

Synopsis

Documentation

data Window w => Icon w Source #

The Icon datatype.

Constructors

Icon w 

Instances

(Eq w, Window w) => Eq (Icon w) Source # 

Methods

(==) :: Icon w -> Icon w -> Bool #

(/=) :: Icon w -> Icon w -> Bool #

(Ord w, Window w) => Ord (Icon w) Source # 

Methods

compare :: Icon w -> Icon w -> Ordering #

(<) :: Icon w -> Icon w -> Bool #

(<=) :: Icon w -> Icon w -> Bool #

(>) :: Icon w -> Icon w -> Bool #

(>=) :: Icon w -> Icon w -> Bool #

max :: Icon w -> Icon w -> Icon w #

min :: Icon w -> Icon w -> Icon w #

Window w => Synchronized (Icon w) Source #

You can synchronize on an icon object.

Methods

synchronize :: Icon w -> IO b -> IO b #

Window w => GUIObject (Icon w) Source #

Internal.

Methods

toGUIObject :: Icon w -> GUIOBJECT Source #

cname :: Icon w -> String Source #

cset :: GUIValue a => Icon w -> ConfigID -> a -> IO (Icon w) Source #

cget :: GUIValue a => Icon w -> ConfigID -> IO a Source #

Window w => HasPosition (Icon w) Source #

You can set the location of an icon.

Window w => HasBitMap (Icon w) Source #

You can the the corresponding bitmap for an icon.

(Window w, GUIValue v) => HasText (Icon w) v Source #

You can set the name on the icon.

Methods

text :: v -> Config (Icon w) Source #

getText :: Icon w -> IO v Source #

iconMask :: (Window w, BitMapDesignator h) => h -> Config (Icon w) Source #

Sets the corresponding icon mask.

getIconMask :: Window w => Icon w -> IO BitMapHandle Source #

Gets the corresponding icon mask.