gio-0.13.1.0: Binding to the GIO.

Maintainergtk2hs-devel@lists.sourceforge.net
Stabilityalpha
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

System.GIO.Icons.EmblemedIcon

Contents

Description

 

Synopsis

Details

EmblemedIcon is an implementation of Icon that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via emblemedIconAddEmblem.

Note that EmblemedIcon allows no control over the position of the emblems. See also Emblem for more information.

Types

Methods

emblemedIconNew :: (IconClass icon, EmblemClass emblem) => icon -> emblem -> IO EmblemedIcon Source

Creates a new emblemed icon for icon with the emblem emblem.

emblemedIconGetIcon Source

Arguments

:: EmblemedIconClass emblemed 
=> emblemed 
-> IO Icon

returns a Icon that is owned by emblemed

Gets the main icon for emblemed.

emblemedIconGetEmblems Source

Arguments

:: EmblemedIconClass emblemed 
=> emblemed 
-> IO [Emblem]

returns a list of Emblem s that is owned by emblemed

Gets the list of emblems for the icon.

emblemedIconAddEmblem :: EmblemedIconClass emblemed => emblemed -> Emblem -> IO () Source

Adds emblem to the Emblem.