| Portability | portable (depends on GHC) |
|---|---|
| Stability | alpha |
| Maintainer | gtk2hs-devel@lists.sourceforge.net |
| Safe Haskell | None |
System.GIO.Icons.ThemedIcon
Description
- newtype ThemedIcon = ThemedIcon (ForeignPtr ThemedIcon)
- class GObjectClass o => ThemedIconClass o
- themedIconNew :: ByteString -> IO ThemedIcon
- themedIconNewFromNames :: [String] -> IO ThemedIcon
- themedIconPrependName :: ThemedIconClass icon => icon -> String -> IO ()
- themedIconAppendName :: ThemedIconClass icon => icon -> String -> IO ()
- themedIconGetNames :: ThemedIconClass icon => 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) |
class GObjectClass o => ThemedIconClass o Source
Instances
Methods
Arguments
| :: ByteString |
|
| -> IO ThemedIcon |
Creates a new icon for a file.
Arguments
| :: [String] |
|
| -> IO ThemedIcon |
Creates a new themed icon for iconnames.
Arguments
| :: ThemedIconClass icon | |
| => icon | |
| -> String |
|
| -> IO () |
Prepend a name to the list of icons from within icon.
Arguments
| :: ThemedIconClass icon | |
| => icon | |
| -> String |
|
| -> IO () |
Append a name to the list of icons from within icon.
Arguments
| :: ThemedIconClass icon | |
| => icon | |
| -> IO [String] | returns a list of icon names. |
Gets the names of icons from within icon.