gi-gtk-3.0.7: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.ThemingEngine

Contents

Description

 

Synopsis

Exported types

newtype ThemingEngine Source #

Constructors

ThemingEngine (ManagedPtr ThemingEngine) 

Instances

GObject ThemingEngine Source # 
IsObject ThemingEngine Source # 
IsThemingEngine ThemingEngine Source # 
((~) * info (ResolveThemingEngineMethod t ThemingEngine), MethodInfo * info ThemingEngine p) => IsLabel t (ThemingEngine -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> ThemingEngine -> p #

((~) * info (ResolveThemingEngineMethod t ThemingEngine), MethodInfo * info ThemingEngine p) => IsLabelProxy t (ThemingEngine -> p) Source # 
HasAttributeList * ThemingEngine Source # 
type SignalList ThemingEngine Source # 
type SignalList ThemingEngine
type AttributeList ThemingEngine Source # 
type AttributeList ThemingEngine

class GObject o => IsThemingEngine o Source #

Instances

(GObject a, UnknownAncestorError Constraint ThemingEngine a) => IsThemingEngine a Source # 
IsThemingEngine ThemingEngine Source # 

Methods

getBackgroundColor

data ThemingEngineGetBackgroundColorMethodInfo Source #

Instances

((~) * signature ([StateFlags] -> m RGBA), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetBackgroundColorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetBackgroundColorMethodInfo a -> signature -> s

themingEngineGetBackgroundColor :: (MonadIO m, IsThemingEngine a) => a -> [StateFlags] -> m RGBA Source #

Deprecated: (Since version 3.14)

getBorder

data ThemingEngineGetBorderMethodInfo Source #

Instances

((~) * signature ([StateFlags] -> m Border), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetBorderMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetBorderMethodInfo a -> signature -> s

themingEngineGetBorder :: (MonadIO m, IsThemingEngine a) => a -> [StateFlags] -> m Border Source #

Deprecated: (Since version 3.14)

getBorderColor

data ThemingEngineGetBorderColorMethodInfo Source #

Instances

((~) * signature ([StateFlags] -> m RGBA), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetBorderColorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetBorderColorMethodInfo a -> signature -> s

themingEngineGetBorderColor :: (MonadIO m, IsThemingEngine a) => a -> [StateFlags] -> m RGBA Source #

Deprecated: (Since version 3.14)

getColor

data ThemingEngineGetColorMethodInfo Source #

Instances

((~) * signature ([StateFlags] -> m RGBA), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetColorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetColorMethodInfo a -> signature -> s

themingEngineGetColor :: (MonadIO m, IsThemingEngine a) => a -> [StateFlags] -> m RGBA Source #

Deprecated: (Since version 3.14)

getDirection

data ThemingEngineGetDirectionMethodInfo Source #

Instances

((~) * signature (m TextDirection), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetDirectionMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetDirectionMethodInfo a -> signature -> s

themingEngineGetDirection :: (MonadIO m, IsThemingEngine a) => a -> m TextDirection Source #

Deprecated: (Since version 3.8)Use gtk_theming_engine_get_state() and check for GTK_STATE_FLAG_DIR_RTL instead.

getFont

data ThemingEngineGetFontMethodInfo Source #

Instances

((~) * signature ([StateFlags] -> m FontDescription), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetFontMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetFontMethodInfo a -> signature -> s

themingEngineGetFont :: (MonadIO m, IsThemingEngine a) => a -> [StateFlags] -> m FontDescription Source #

Deprecated: (Since version 3.8)Use gtk_theming_engine_get()

getJunctionSides

data ThemingEngineGetJunctionSidesMethodInfo Source #

Instances

((~) * signature (m [JunctionSides]), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetJunctionSidesMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetJunctionSidesMethodInfo a -> signature -> s

themingEngineGetJunctionSides :: (MonadIO m, IsThemingEngine a) => a -> m [JunctionSides] Source #

Deprecated: (Since version 3.14)

getMargin

data ThemingEngineGetMarginMethodInfo Source #

Instances

((~) * signature ([StateFlags] -> m Border), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetMarginMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetMarginMethodInfo a -> signature -> s

themingEngineGetMargin :: (MonadIO m, IsThemingEngine a) => a -> [StateFlags] -> m Border Source #

Deprecated: (Since version 3.14)

getPadding

data ThemingEngineGetPaddingMethodInfo Source #

Instances

((~) * signature ([StateFlags] -> m Border), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetPaddingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetPaddingMethodInfo a -> signature -> s

themingEngineGetPadding :: (MonadIO m, IsThemingEngine a) => a -> [StateFlags] -> m Border Source #

Deprecated: (Since version 3.14)

getPath

data ThemingEngineGetPathMethodInfo Source #

Instances

((~) * signature (m WidgetPath), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetPathMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetPathMethodInfo a -> signature -> s

themingEngineGetPath :: (MonadIO m, IsThemingEngine a) => a -> m WidgetPath Source #

Deprecated: (Since version 3.14)

getProperty

data ThemingEngineGetPropertyMethodInfo Source #

Instances

((~) * signature (Text -> [StateFlags] -> m GValue), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetPropertyMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetPropertyMethodInfo a -> signature -> s

themingEngineGetProperty :: (MonadIO m, IsThemingEngine a) => a -> Text -> [StateFlags] -> m GValue Source #

Deprecated: (Since version 3.14)

getScreen

data ThemingEngineGetScreenMethodInfo Source #

Instances

((~) * signature (m Screen), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetScreenMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetScreenMethodInfo a -> signature -> s

themingEngineGetScreen :: (MonadIO m, IsThemingEngine a) => a -> m Screen Source #

Deprecated: (Since version 3.14)

getState

data ThemingEngineGetStateMethodInfo Source #

Instances

((~) * signature (m [StateFlags]), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetStateMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetStateMethodInfo a -> signature -> s

themingEngineGetState :: (MonadIO m, IsThemingEngine a) => a -> m [StateFlags] Source #

Deprecated: (Since version 3.14)

getStyleProperty

data ThemingEngineGetStylePropertyMethodInfo Source #

Instances

((~) * signature (Text -> m GValue), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineGetStylePropertyMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineGetStylePropertyMethodInfo a -> signature -> s

themingEngineGetStyleProperty :: (MonadIO m, IsThemingEngine a) => a -> Text -> m GValue Source #

Deprecated: (Since version 3.14)

hasClass

data ThemingEngineHasClassMethodInfo Source #

Instances

((~) * signature (Text -> m Bool), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineHasClassMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineHasClassMethodInfo a -> signature -> s

themingEngineHasClass :: (MonadIO m, IsThemingEngine a) => a -> Text -> m Bool Source #

Deprecated: (Since version 3.14)

hasRegion

data ThemingEngineHasRegionMethodInfo Source #

Instances

((~) * signature (Text -> m (Bool, [RegionFlags])), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineHasRegionMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineHasRegionMethodInfo a -> signature -> s

themingEngineHasRegion :: (MonadIO m, IsThemingEngine a) => a -> Text -> m (Bool, [RegionFlags]) Source #

Deprecated: (Since version 3.14)

load

themingEngineLoad :: MonadIO m => Text -> m ThemingEngine Source #

Deprecated: (Since version 3.14)

lookupColor

data ThemingEngineLookupColorMethodInfo Source #

Instances

((~) * signature (Text -> m (Bool, RGBA)), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineLookupColorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineLookupColorMethodInfo a -> signature -> s

themingEngineLookupColor :: (MonadIO m, IsThemingEngine a) => a -> Text -> m (Bool, RGBA) Source #

Deprecated: (Since version 3.14)

stateIsRunning

data ThemingEngineStateIsRunningMethodInfo Source #

Instances

((~) * signature (StateType -> m (Bool, Double)), MonadIO m, IsThemingEngine a) => MethodInfo * ThemingEngineStateIsRunningMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ThemingEngineStateIsRunningMethodInfo a -> signature -> s

themingEngineStateIsRunning :: (MonadIO m, IsThemingEngine a) => a -> StateType -> m (Bool, Double) Source #

Deprecated: (Since version 3.6)Always returns %FALSE

Properties

name

data ThemingEngineNamePropertyInfo Source #

Instances

AttrInfo ThemingEngineNamePropertyInfo Source # 

Associated Types

type AttrAllowedOps ThemingEngineNamePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ThemingEngineNamePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ThemingEngineNamePropertyInfo :: * -> Constraint

type AttrGetType ThemingEngineNamePropertyInfo :: *

type AttrLabel ThemingEngineNamePropertyInfo :: Symbol

type AttrOrigin ThemingEngineNamePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ThemingEngineNamePropertyInfo o => Proxy * ThemingEngineNamePropertyInfo -> o -> IO (AttrGetType ThemingEngineNamePropertyInfo)

attrSet :: (AttrBaseTypeConstraint ThemingEngineNamePropertyInfo o, AttrSetTypeConstraint ThemingEngineNamePropertyInfo b) => Proxy * ThemingEngineNamePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ThemingEngineNamePropertyInfo o => Proxy * ThemingEngineNamePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ThemingEngineNamePropertyInfo o, AttrSetTypeConstraint ThemingEngineNamePropertyInfo b) => Proxy * ThemingEngineNamePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ThemingEngineNamePropertyInfo Source # 
type AttrSetTypeConstraint ThemingEngineNamePropertyInfo = * ~ Text
type AttrOrigin ThemingEngineNamePropertyInfo Source # 
type AttrLabel ThemingEngineNamePropertyInfo Source # 
type AttrLabel ThemingEngineNamePropertyInfo = "name"
type AttrGetType ThemingEngineNamePropertyInfo Source # 
type AttrGetType ThemingEngineNamePropertyInfo = Maybe Text
type AttrBaseTypeConstraint ThemingEngineNamePropertyInfo Source # 
type AttrBaseTypeConstraint ThemingEngineNamePropertyInfo = IsThemingEngine
type AttrAllowedOps ThemingEngineNamePropertyInfo Source # 
type AttrAllowedOps ThemingEngineNamePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructThemingEngineName :: IsThemingEngine o => Text -> IO (GValueConstruct o) Source #

themingEngineName :: AttrLabelProxy "name" Source #