| Maintainer | gtk2hs-devel@lists.sourceforge.net |
|---|---|
| Stability | alpha |
| Portability | portable (depends on GHC) |
| Safe Haskell | None |
| Language | Haskell98 |
System.GIO.Icons.Emblem
Description
- newtype Emblem = Emblem (ForeignPtr Emblem)
- class GObjectClass o => EmblemClass o
- data EmblemOrigin
- emblemNew :: IconClass icon => icon -> IO Emblem
- emblemNewWithOrigin :: IconClass icon => icon -> EmblemOrigin -> IO Emblem
- emblemGetIcon :: EmblemClass emblem => emblem -> IO Icon
- emblemGetOrigin :: EmblemClass emblem => emblem -> IO EmblemOrigin
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
Constructors
| Emblem (ForeignPtr Emblem) |
class GObjectClass o => EmblemClass o Source #
Instances
Enums
data EmblemOrigin Source #
EmblemOrigin is used to add information about the origin of the emblem to Emblem.
Instances
Methods
Arguments
| :: IconClass icon | |
| => icon |
|
| -> EmblemOrigin |
|
| -> IO Emblem |
Creates a new emblem for icon.
Arguments
| :: EmblemClass emblem | |
| => emblem |
|
| -> IO Icon | returns a |
Gives back the icon from emblem.
emblemGetOrigin :: EmblemClass emblem => emblem -> IO EmblemOrigin Source #
Gets the origin of the emblem.