Maintainer | gtk2hs-devel@lists.sourceforge.net |
---|---|
Stability | alpha |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
Synopsis
- newtype EmblemedIcon = EmblemedIcon (ForeignPtr EmblemedIcon)
- class GObjectClass o => EmblemedIconClass o
- emblemedIconNew :: (IconClass icon, EmblemClass emblem) => icon -> emblem -> IO EmblemedIcon
- emblemedIconGetIcon :: EmblemedIconClass emblemed => emblemed -> IO Icon
- emblemedIconGetEmblems :: EmblemedIconClass emblemed => emblemed -> IO [Emblem]
- emblemedIconAddEmblem :: EmblemedIconClass emblemed => emblemed -> Emblem -> IO ()
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 Emblem
edIcon allows no control over the position of the emblems. See also Emblem
for
more information.
Types
newtype EmblemedIcon Source #
Instances
Eq EmblemedIcon Source # | |
Defined in System.GIO.Types (==) :: EmblemedIcon -> EmblemedIcon -> Bool # (/=) :: EmblemedIcon -> EmblemedIcon -> Bool # | |
Ord EmblemedIcon Source # | |
Defined in System.GIO.Types compare :: EmblemedIcon -> EmblemedIcon -> Ordering # (<) :: EmblemedIcon -> EmblemedIcon -> Bool # (<=) :: EmblemedIcon -> EmblemedIcon -> Bool # (>) :: EmblemedIcon -> EmblemedIcon -> Bool # (>=) :: EmblemedIcon -> EmblemedIcon -> Bool # max :: EmblemedIcon -> EmblemedIcon -> EmblemedIcon # min :: EmblemedIcon -> EmblemedIcon -> EmblemedIcon # | |
GObjectClass EmblemedIcon Source # | |
Defined in System.GIO.Types toGObject :: EmblemedIcon -> GObject # | |
EmblemedIconClass EmblemedIcon Source # | |
Defined in System.GIO.Types |
class GObjectClass o => EmblemedIconClass o Source #
Instances
EmblemedIconClass EmblemedIcon Source # | |
Defined in System.GIO.Types |
Methods
emblemedIconNew :: (IconClass icon, EmblemClass emblem) => icon -> emblem -> IO EmblemedIcon Source #
Creates a new emblemed icon for icon with the emblem emblem.
:: EmblemedIconClass emblemed | |
=> emblemed | |
-> IO Icon | returns a |
Gets the main icon for emblemed.
emblemedIconGetEmblems Source #
:: EmblemedIconClass emblemed | |
=> emblemed | |
-> IO [Emblem] | returns a list of |
Gets the list of emblems for the icon.
emblemedIconAddEmblem :: EmblemedIconClass emblemed => emblemed -> Emblem -> IO () Source #
Adds emblem to the Emblem
.