Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype ThemedIcon = ThemedIcon (ForeignPtr ThemedIcon)
- class GObject o => ThemedIconK o
- toThemedIcon :: ThemedIconK o => o -> IO ThemedIcon
- noThemedIcon :: Maybe ThemedIcon
- themedIconAppendName :: (MonadIO m, ThemedIconK a) => a -> Text -> m ()
- themedIconGetNames :: (MonadIO m, ThemedIconK a) => a -> m [Text]
- themedIconNew :: MonadIO m => Text -> m ThemedIcon
- themedIconNewFromNames :: MonadIO m => [Text] -> m ThemedIcon
- themedIconNewWithDefaultFallbacks :: MonadIO m => Text -> m ThemedIcon
- themedIconPrependName :: (MonadIO m, ThemedIconK a) => a -> Text -> m ()
- data ThemedIconNamePropertyInfo
- constructThemedIconName :: Text -> IO ([Char], GValue)
- data ThemedIconNamesPropertyInfo
- constructThemedIconNames :: [Text] -> IO ([Char], GValue)
- getThemedIconNames :: (MonadIO m, ThemedIconK o) => o -> m [Text]
- data ThemedIconUseDefaultFallbacksPropertyInfo
- constructThemedIconUseDefaultFallbacks :: Bool -> IO ([Char], GValue)
- getThemedIconUseDefaultFallbacks :: (MonadIO m, ThemedIconK o) => o -> m Bool
Exported types
newtype ThemedIcon Source
class GObject o => ThemedIconK o Source
(GObject o, IsDescendantOf ThemedIcon o) => ThemedIconK o Source |
toThemedIcon :: ThemedIconK o => o -> IO ThemedIcon Source
Methods
themedIconAppendName
themedIconAppendName :: (MonadIO m, ThemedIconK a) => a -> Text -> m () Source
themedIconGetNames
themedIconGetNames :: (MonadIO m, ThemedIconK a) => a -> m [Text] Source
themedIconNew
themedIconNew :: MonadIO m => Text -> m ThemedIcon Source
themedIconNewFromNames
themedIconNewFromNames :: MonadIO m => [Text] -> m ThemedIcon Source
themedIconNewWithDefaultFallbacks
themedIconNewWithDefaultFallbacks :: MonadIO m => Text -> m ThemedIcon Source
themedIconPrependName
themedIconPrependName :: (MonadIO m, ThemedIconK a) => a -> Text -> m () Source
Properties
Name
data ThemedIconNamePropertyInfo Source
AttrInfo ThemedIconNamePropertyInfo Source | |
type AttrLabel ThemedIconNamePropertyInfo = "ThemedIcon::name" Source | |
type AttrGetType ThemedIconNamePropertyInfo = () Source | |
type AttrBaseTypeConstraint ThemedIconNamePropertyInfo = ThemedIconK Source | |
type AttrSetTypeConstraint ThemedIconNamePropertyInfo = * ~ Text Source | |
type AttrAllowedOps ThemedIconNamePropertyInfo = (:) AttrOpTag AttrConstruct ([] AttrOpTag) Source |
Names
data ThemedIconNamesPropertyInfo Source
AttrInfo ThemedIconNamesPropertyInfo Source | |
type AttrLabel ThemedIconNamesPropertyInfo = "ThemedIcon::names" Source | |
type AttrGetType ThemedIconNamesPropertyInfo = [Text] Source | |
type AttrBaseTypeConstraint ThemedIconNamesPropertyInfo = ThemedIconK Source | |
type AttrSetTypeConstraint ThemedIconNamesPropertyInfo = * ~ [Text] Source | |
type AttrAllowedOps ThemedIconNamesPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getThemedIconNames :: (MonadIO m, ThemedIconK o) => o -> m [Text] Source
UseDefaultFallbacks
data ThemedIconUseDefaultFallbacksPropertyInfo Source
AttrInfo ThemedIconUseDefaultFallbacksPropertyInfo Source | |
type AttrLabel ThemedIconUseDefaultFallbacksPropertyInfo = "ThemedIcon::use-default-fallbacks" Source | |
type AttrGetType ThemedIconUseDefaultFallbacksPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint ThemedIconUseDefaultFallbacksPropertyInfo = ThemedIconK Source | |
type AttrSetTypeConstraint ThemedIconUseDefaultFallbacksPropertyInfo = * ~ Bool Source | |
type AttrAllowedOps ThemedIconUseDefaultFallbacksPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getThemedIconUseDefaultFallbacks :: (MonadIO m, ThemedIconK o) => o -> m Bool Source