gi-gtk-0.3.18.15: 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.StyleContext

Contents

Description

 

Synopsis

Exported types

newtype StyleContext Source

Instances

GObject StyleContext 
((~) * info (ResolveStyleContextMethod t StyleContext), MethodInfo * info StyleContext p) => IsLabelProxy t (StyleContext -> p) 
type ParentTypes StyleContext 
type AttributeList StyleContext 
type SignalList StyleContext 

Methods

styleContextAddClass

data StyleContextAddClassMethodInfo Source

Instances

((~) * signature (Text -> m ()), MonadIO m, StyleContextK a) => MethodInfo * StyleContextAddClassMethodInfo a signature 

styleContextAddProvider

styleContextAddProviderForScreen

styleContextAddRegion

data StyleContextAddRegionMethodInfo Source

Instances

((~) * signature (Text -> [RegionFlags] -> m ()), MonadIO m, StyleContextK a) => MethodInfo * StyleContextAddRegionMethodInfo a signature 

styleContextAddRegion :: (MonadIO m, StyleContextK a) => a -> Text -> [RegionFlags] -> m () Source

Deprecated: (Since version 3.14)

styleContextCancelAnimations

styleContextCancelAnimations :: (MonadIO m, StyleContextK a) => a -> Ptr () -> m () Source

Deprecated: (Since version 3.6)This function does nothing.

styleContextGetBackgroundColor

styleContextGetBackgroundColor :: (MonadIO m, StyleContextK a) => a -> [StateFlags] -> m RGBA Source

Deprecated: (Since version 3.16)Use gtk_render_background() instead.

styleContextGetBorder

styleContextGetBorderColor

styleContextGetBorderColor :: (MonadIO m, StyleContextK a) => a -> [StateFlags] -> m RGBA Source

Deprecated: (Since version 3.16)Use gtk_render_border() instead.

styleContextGetColor

styleContextGetDirection

styleContextGetDirection :: (MonadIO m, StyleContextK a) => a -> m TextDirection Source

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

styleContextGetFont

styleContextGetFont :: (MonadIO m, StyleContextK a) => a -> [StateFlags] -> m FontDescription Source

Deprecated: (Since version 3.8)Use gtk_style_context_get() for "font" or subproperties instead.

styleContextGetFrameClock

styleContextGetJunctionSides

styleContextGetMargin

styleContextGetPadding

styleContextGetParent

styleContextGetPath

styleContextGetProperty

styleContextGetScale

styleContextGetScreen

styleContextGetSection

styleContextGetState

styleContextGetStyleProperty

styleContextHasClass

data StyleContextHasClassMethodInfo Source

Instances

((~) * signature (Text -> m Bool), MonadIO m, StyleContextK a) => MethodInfo * StyleContextHasClassMethodInfo a signature 

styleContextHasRegion

styleContextHasRegion :: (MonadIO m, StyleContextK a) => a -> Text -> m (Bool, [RegionFlags]) Source

Deprecated: (Since version 3.14)

styleContextInvalidate

data StyleContextInvalidateMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, StyleContextK a) => MethodInfo * StyleContextInvalidateMethodInfo a signature 

styleContextInvalidate :: (MonadIO m, StyleContextK a) => a -> m () Source

Deprecated: (Since version 3.12)Style contexts are invalidated automatically.

styleContextListClasses

styleContextListRegions

styleContextListRegions :: (MonadIO m, StyleContextK a) => a -> m [Text] Source

Deprecated: (Since version 3.14)

styleContextLookupColor

styleContextLookupIconSet

styleContextLookupIconSet :: (MonadIO m, StyleContextK a) => a -> Text -> m IconSet Source

Deprecated: (Since version 3.10)Use gtk_icon_theme_lookup_icon() instead.

styleContextNew

styleContextNotifyStateChange

data StyleContextNotifyStateChangeMethodInfo Source

Instances

((~) * signature (b -> Ptr () -> StateType -> Bool -> m ()), MonadIO m, StyleContextK a, WindowK b) => MethodInfo * StyleContextNotifyStateChangeMethodInfo a signature 

styleContextNotifyStateChange :: (MonadIO m, StyleContextK a, WindowK b) => a -> b -> Ptr () -> StateType -> Bool -> m () Source

Deprecated: (Since version 3.6)This function does nothing.

styleContextPopAnimatableRegion

styleContextPopAnimatableRegion :: (MonadIO m, StyleContextK a) => a -> m () Source

Deprecated: (Since version 3.6)This function does nothing.

styleContextPushAnimatableRegion

styleContextPushAnimatableRegion :: (MonadIO m, StyleContextK a) => a -> Ptr () -> m () Source

Deprecated: (Since version 3.6)This function does nothing.

styleContextRemoveClass

data StyleContextRemoveClassMethodInfo Source

Instances

((~) * signature (Text -> m ()), MonadIO m, StyleContextK a) => MethodInfo * StyleContextRemoveClassMethodInfo a signature 

styleContextRemoveProvider

styleContextRemoveProviderForScreen

styleContextRemoveRegion

data StyleContextRemoveRegionMethodInfo Source

Instances

((~) * signature (Text -> m ()), MonadIO m, StyleContextK a) => MethodInfo * StyleContextRemoveRegionMethodInfo a signature 

styleContextRemoveRegion :: (MonadIO m, StyleContextK a) => a -> Text -> m () Source

Deprecated: (Since version 3.14)

styleContextResetWidgets

styleContextRestore

data StyleContextRestoreMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, StyleContextK a) => MethodInfo * StyleContextRestoreMethodInfo a signature 

styleContextSave

data StyleContextSaveMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, StyleContextK a) => MethodInfo * StyleContextSaveMethodInfo a signature 

styleContextScrollAnimations

styleContextScrollAnimations :: (MonadIO m, StyleContextK a, WindowK b) => a -> b -> Int32 -> Int32 -> m () Source

Deprecated: (Since version 3.6)This function does nothing.

styleContextSetBackground

data StyleContextSetBackgroundMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, StyleContextK a, WindowK b) => MethodInfo * StyleContextSetBackgroundMethodInfo a signature 

styleContextSetBackground :: (MonadIO m, StyleContextK a, WindowK b) => a -> b -> m () Source

Deprecated: (Since version 3.18)Use gtk_render_background() instead. Note that clients still using this function are now responsible for calling this function again whenever @context is invalidated.

styleContextSetDirection

styleContextSetDirection :: (MonadIO m, StyleContextK a) => a -> TextDirection -> m () Source

Deprecated: (Since version 3.8)Use gtk_style_context_set_state() with GTK_STATE_FLAG_DIR_RTL instead.

styleContextSetFrameClock

styleContextSetJunctionSides

styleContextSetParent

data StyleContextSetParentMethodInfo Source

Instances

((~) * signature (Maybe b -> m ()), MonadIO m, StyleContextK a, StyleContextK b) => MethodInfo * StyleContextSetParentMethodInfo a signature 

styleContextSetPath

data StyleContextSetPathMethodInfo Source

Instances

((~) * signature (WidgetPath -> m ()), MonadIO m, StyleContextK a) => MethodInfo * StyleContextSetPathMethodInfo a signature 

styleContextSetScale

data StyleContextSetScaleMethodInfo Source

Instances

((~) * signature (Int32 -> m ()), MonadIO m, StyleContextK a) => MethodInfo * StyleContextSetScaleMethodInfo a signature 

styleContextSetScreen

data StyleContextSetScreenMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, StyleContextK a, ScreenK b) => MethodInfo * StyleContextSetScreenMethodInfo a signature 

styleContextSetState

data StyleContextSetStateMethodInfo Source

Instances

((~) * signature ([StateFlags] -> m ()), MonadIO m, StyleContextK a) => MethodInfo * StyleContextSetStateMethodInfo a signature 

styleContextStateIsRunning

styleContextStateIsRunning :: (MonadIO m, StyleContextK a) => a -> StateType -> m (Bool, Double) Source

Deprecated: (Since version 3.6)This function always returns %FALSE

Properties

Direction

PaintClock

Parent

Screen

Signals

Changed