gio-0.12.3: Binding to the GIO.

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

System.GIO.Icons.Emblem

Contents

Description

 

Synopsis

Details

Emblem is an implementation of Icon that supports having an emblem, which is an icon with additional properties. It can than be added to a EmblemedIcon.

Currently, only metainformation about the emblem's origin is supported. More may be added in the future.

Types

Enums

Methods

emblemNew :: IconClass icon => icon -> IO EmblemSource

Creates a new emblem for icon.

emblemNewWithOriginSource

Arguments

:: IconClass icon 
=> icon

icon a Icon containing the icon.

-> EmblemOrigin

origin a EmblemOrigin enum defining the emblem's origin

-> IO Emblem 

Creates a new emblem for icon.

emblemGetIconSource

Arguments

:: EmblemClass emblem 
=> emblem

emblem a Emblem from which the icon should be extracted.

-> IO Icon

returns a Icon. The returned object belongs to the emblem and should not be modified or freed.

Gives back the icon from emblem.

emblemGetOrigin :: EmblemClass emblem => emblem -> IO EmblemOriginSource

Gets the origin of the emblem.