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 |
- Exported types
- Methods
- themingEngineGetBackgroundColor
- themingEngineGetBorder
- themingEngineGetBorderColor
- themingEngineGetColor
- themingEngineGetDirection
- themingEngineGetFont
- themingEngineGetJunctionSides
- themingEngineGetMargin
- themingEngineGetPadding
- themingEngineGetPath
- themingEngineGetProperty
- themingEngineGetScreen
- themingEngineGetState
- themingEngineGetStyleProperty
- themingEngineHasClass
- themingEngineHasRegion
- themingEngineLoad
- themingEngineLookupColor
- themingEngineStateIsRunning
- Properties
- newtype ThemingEngine = ThemingEngine (ForeignPtr ThemingEngine)
- class GObject o => ThemingEngineK o
- toThemingEngine :: ThemingEngineK o => o -> IO ThemingEngine
- noThemingEngine :: Maybe ThemingEngine
- data ThemingEngineGetBackgroundColorMethodInfo
- themingEngineGetBackgroundColor :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m RGBA
- data ThemingEngineGetBorderMethodInfo
- themingEngineGetBorder :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m Border
- data ThemingEngineGetBorderColorMethodInfo
- themingEngineGetBorderColor :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m RGBA
- data ThemingEngineGetColorMethodInfo
- themingEngineGetColor :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m RGBA
- data ThemingEngineGetDirectionMethodInfo
- themingEngineGetDirection :: (MonadIO m, ThemingEngineK a) => a -> m TextDirection
- data ThemingEngineGetFontMethodInfo
- themingEngineGetFont :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m FontDescription
- data ThemingEngineGetJunctionSidesMethodInfo
- themingEngineGetJunctionSides :: (MonadIO m, ThemingEngineK a) => a -> m [JunctionSides]
- data ThemingEngineGetMarginMethodInfo
- themingEngineGetMargin :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m Border
- data ThemingEngineGetPaddingMethodInfo
- themingEngineGetPadding :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m Border
- data ThemingEngineGetPathMethodInfo
- themingEngineGetPath :: (MonadIO m, ThemingEngineK a) => a -> m WidgetPath
- data ThemingEngineGetPropertyMethodInfo
- themingEngineGetProperty :: (MonadIO m, ThemingEngineK a) => a -> Text -> [StateFlags] -> m GValue
- data ThemingEngineGetScreenMethodInfo
- themingEngineGetScreen :: (MonadIO m, ThemingEngineK a) => a -> m Screen
- data ThemingEngineGetStateMethodInfo
- themingEngineGetState :: (MonadIO m, ThemingEngineK a) => a -> m [StateFlags]
- data ThemingEngineGetStylePropertyMethodInfo
- themingEngineGetStyleProperty :: (MonadIO m, ThemingEngineK a) => a -> Text -> m GValue
- data ThemingEngineHasClassMethodInfo
- themingEngineHasClass :: (MonadIO m, ThemingEngineK a) => a -> Text -> m Bool
- data ThemingEngineHasRegionMethodInfo
- themingEngineHasRegion :: (MonadIO m, ThemingEngineK a) => a -> Text -> m (Bool, [RegionFlags])
- themingEngineLoad :: MonadIO m => Text -> m ThemingEngine
- data ThemingEngineLookupColorMethodInfo
- themingEngineLookupColor :: (MonadIO m, ThemingEngineK a) => a -> Text -> m (Bool, RGBA)
- data ThemingEngineStateIsRunningMethodInfo
- themingEngineStateIsRunning :: (MonadIO m, ThemingEngineK a) => a -> StateType -> m (Bool, Double)
- data ThemingEngineNamePropertyInfo
- constructThemingEngineName :: Text -> IO ([Char], GValue)
- getThemingEngineName :: (MonadIO m, ThemingEngineK o) => o -> m (Maybe Text)
- themingEngineName :: AttrLabelProxy "name"
Exported types
newtype ThemingEngine Source
GObject ThemingEngine | |
((~) * info (ResolveThemingEngineMethod t ThemingEngine), MethodInfo * info ThemingEngine p) => IsLabelProxy t (ThemingEngine -> p) | |
type ParentTypes ThemingEngine | |
type AttributeList ThemingEngine | |
type SignalList ThemingEngine |
class GObject o => ThemingEngineK o Source
(GObject o, IsDescendantOf ThemingEngine o) => ThemingEngineK o |
toThemingEngine :: ThemingEngineK o => o -> IO ThemingEngine Source
Methods
themingEngineGetBackgroundColor
data ThemingEngineGetBackgroundColorMethodInfo Source
((~) * signature ([StateFlags] -> m RGBA), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetBackgroundColorMethodInfo a signature |
themingEngineGetBackgroundColor :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m RGBA Source
Deprecated: (Since version 3.14)
themingEngineGetBorder
data ThemingEngineGetBorderMethodInfo Source
((~) * signature ([StateFlags] -> m Border), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetBorderMethodInfo a signature |
themingEngineGetBorder :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m Border Source
Deprecated: (Since version 3.14)
themingEngineGetBorderColor
data ThemingEngineGetBorderColorMethodInfo Source
((~) * signature ([StateFlags] -> m RGBA), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetBorderColorMethodInfo a signature |
themingEngineGetBorderColor :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m RGBA Source
Deprecated: (Since version 3.14)
themingEngineGetColor
data ThemingEngineGetColorMethodInfo Source
((~) * signature ([StateFlags] -> m RGBA), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetColorMethodInfo a signature |
themingEngineGetColor :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m RGBA Source
Deprecated: (Since version 3.14)
themingEngineGetDirection
data ThemingEngineGetDirectionMethodInfo Source
((~) * signature (m TextDirection), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetDirectionMethodInfo a signature |
themingEngineGetDirection :: (MonadIO m, ThemingEngineK a) => a -> m TextDirection Source
themingEngineGetFont
data ThemingEngineGetFontMethodInfo Source
((~) * signature ([StateFlags] -> m FontDescription), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetFontMethodInfo a signature |
themingEngineGetFont :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m FontDescription Source
Deprecated: (Since version 3.8)Use gtk_theming_engine_get()
themingEngineGetJunctionSides
data ThemingEngineGetJunctionSidesMethodInfo Source
((~) * signature (m [JunctionSides]), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetJunctionSidesMethodInfo a signature |
themingEngineGetJunctionSides :: (MonadIO m, ThemingEngineK a) => a -> m [JunctionSides] Source
Deprecated: (Since version 3.14)
themingEngineGetMargin
data ThemingEngineGetMarginMethodInfo Source
((~) * signature ([StateFlags] -> m Border), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetMarginMethodInfo a signature |
themingEngineGetMargin :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m Border Source
Deprecated: (Since version 3.14)
themingEngineGetPadding
data ThemingEngineGetPaddingMethodInfo Source
((~) * signature ([StateFlags] -> m Border), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetPaddingMethodInfo a signature |
themingEngineGetPadding :: (MonadIO m, ThemingEngineK a) => a -> [StateFlags] -> m Border Source
Deprecated: (Since version 3.14)
themingEngineGetPath
data ThemingEngineGetPathMethodInfo Source
((~) * signature (m WidgetPath), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetPathMethodInfo a signature |
themingEngineGetPath :: (MonadIO m, ThemingEngineK a) => a -> m WidgetPath Source
Deprecated: (Since version 3.14)
themingEngineGetProperty
data ThemingEngineGetPropertyMethodInfo Source
((~) * signature (Text -> [StateFlags] -> m GValue), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetPropertyMethodInfo a signature |
themingEngineGetProperty :: (MonadIO m, ThemingEngineK a) => a -> Text -> [StateFlags] -> m GValue Source
Deprecated: (Since version 3.14)
themingEngineGetScreen
data ThemingEngineGetScreenMethodInfo Source
((~) * signature (m Screen), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetScreenMethodInfo a signature |
themingEngineGetScreen :: (MonadIO m, ThemingEngineK a) => a -> m Screen Source
Deprecated: (Since version 3.14)
themingEngineGetState
data ThemingEngineGetStateMethodInfo Source
((~) * signature (m [StateFlags]), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetStateMethodInfo a signature |
themingEngineGetState :: (MonadIO m, ThemingEngineK a) => a -> m [StateFlags] Source
Deprecated: (Since version 3.14)
themingEngineGetStyleProperty
data ThemingEngineGetStylePropertyMethodInfo Source
((~) * signature (Text -> m GValue), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineGetStylePropertyMethodInfo a signature |
themingEngineGetStyleProperty :: (MonadIO m, ThemingEngineK a) => a -> Text -> m GValue Source
Deprecated: (Since version 3.14)
themingEngineHasClass
data ThemingEngineHasClassMethodInfo Source
((~) * signature (Text -> m Bool), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineHasClassMethodInfo a signature |
themingEngineHasClass :: (MonadIO m, ThemingEngineK a) => a -> Text -> m Bool Source
Deprecated: (Since version 3.14)
themingEngineHasRegion
data ThemingEngineHasRegionMethodInfo Source
((~) * signature (Text -> m (Bool, [RegionFlags])), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineHasRegionMethodInfo a signature |
themingEngineHasRegion :: (MonadIO m, ThemingEngineK a) => a -> Text -> m (Bool, [RegionFlags]) Source
Deprecated: (Since version 3.14)
themingEngineLoad
themingEngineLoad :: MonadIO m => Text -> m ThemingEngine Source
Deprecated: (Since version 3.14)
themingEngineLookupColor
data ThemingEngineLookupColorMethodInfo Source
((~) * signature (Text -> m (Bool, RGBA)), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineLookupColorMethodInfo a signature |
themingEngineLookupColor :: (MonadIO m, ThemingEngineK a) => a -> Text -> m (Bool, RGBA) Source
Deprecated: (Since version 3.14)
themingEngineStateIsRunning
data ThemingEngineStateIsRunningMethodInfo Source
((~) * signature (StateType -> m (Bool, Double)), MonadIO m, ThemingEngineK a) => MethodInfo * ThemingEngineStateIsRunningMethodInfo a signature |
themingEngineStateIsRunning :: (MonadIO m, ThemingEngineK a) => a -> StateType -> m (Bool, Double) Source
Deprecated: (Since version 3.6)Always returns %FALSE
Properties
Name
data ThemingEngineNamePropertyInfo Source
AttrInfo ThemingEngineNamePropertyInfo | |
type AttrLabel ThemingEngineNamePropertyInfo = "name" | |
type AttrGetType ThemingEngineNamePropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint ThemingEngineNamePropertyInfo = ThemingEngineK | |
type AttrSetTypeConstraint ThemingEngineNamePropertyInfo = * ~ Text | |
type AttrAllowedOps ThemingEngineNamePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
getThemingEngineName :: (MonadIO m, ThemingEngineK o) => o -> m (Maybe Text) Source
themingEngineName :: AttrLabelProxy "name" Source