Maintainer | gtk2hs-devel@lists.sourceforge.net |
---|---|
Stability | alpha |
Portability | portable (depends on GHC) |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
System.GIO.Icons.ThemedIcon
Description
Synopsis
- newtype ThemedIcon = ThemedIcon (ForeignPtr ThemedIcon)
- class GObjectClass o => ThemedIconClass o
- themedIconNew :: ByteString -> IO ThemedIcon
- themedIconNewFromNames :: GlibString string => [string] -> IO ThemedIcon
- themedIconPrependName :: (ThemedIconClass icon, GlibString string) => icon -> string -> IO ()
- themedIconAppendName :: (ThemedIconClass icon, GlibString string) => icon -> string -> IO ()
- themedIconGetNames :: (ThemedIconClass icon, GlibString string) => icon -> IO [string]
Details
ThemeIcon
specifies an icon by pointing to an image file to be used as icon.
Types
newtype ThemedIcon Source #
Constructors
ThemedIcon (ForeignPtr ThemedIcon) |
Instances
Eq ThemedIcon Source # | |
Defined in System.GIO.Types | |
Ord ThemedIcon Source # | |
Defined in System.GIO.Types Methods compare :: ThemedIcon -> ThemedIcon -> Ordering # (<) :: ThemedIcon -> ThemedIcon -> Bool # (<=) :: ThemedIcon -> ThemedIcon -> Bool # (>) :: ThemedIcon -> ThemedIcon -> Bool # (>=) :: ThemedIcon -> ThemedIcon -> Bool # max :: ThemedIcon -> ThemedIcon -> ThemedIcon # min :: ThemedIcon -> ThemedIcon -> ThemedIcon # | |
ThemedIconClass ThemedIcon Source # | |
Defined in System.GIO.Types | |
GObjectClass ThemedIcon Source # | |
Defined in System.GIO.Types |
class GObjectClass o => ThemedIconClass o Source #
Instances
ThemedIconClass ThemedIcon Source # | |
Defined in System.GIO.Types |
Methods
Arguments
:: ByteString |
|
-> IO ThemedIcon |
Creates a new icon for a file.
themedIconNewFromNames Source #
Arguments
:: GlibString string | |
=> [string] |
|
-> IO ThemedIcon |
Creates a new themed icon for iconnames.
themedIconPrependName Source #
Arguments
:: (ThemedIconClass icon, GlibString string) | |
=> icon | |
-> string |
|
-> IO () |
Prepend a name to the list of icons from within icon.
Arguments
:: (ThemedIconClass icon, GlibString string) | |
=> icon | |
-> string |
|
-> IO () |
Append a name to the list of icons from within icon.
Arguments
:: (ThemedIconClass icon, GlibString string) | |
=> icon | |
-> IO [string] | returns a list of icon names. |
Gets the names of icons from within icon.