gi-gtk-0.3.18.13: 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

Methods

styleContextAddClass

styleContextAddProvider

styleContextAddProviderForScreen

styleContextAddProviderForScreen :: (MonadIO m, ScreenK a, StyleProviderK b) => a -> b -> Word32 -> m () Source

styleContextAddRegion

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

Deprecated: (Since version 3.14)

styleContextCancelAnimations

styleContextCancelAnimations :: (MonadIO m, StyleContextK a) => a -> Maybe (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

data StyleContextGetFontMethodInfo Source

Instances

((~) (TYPE Lifted) signature ([StateFlags] -> m FontDescription), MonadIO m, StyleContextK a) => MethodInfo (TYPE Lifted) StyleContextGetFontMethodInfo a signature Source 

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

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

styleContextGetJunctionSides

styleContextGetMargin

styleContextGetPadding

styleContextGetParent

styleContextGetPath

styleContextGetProperty

styleContextGetScale

styleContextGetScreen

styleContextGetSection

styleContextGetState

styleContextGetStyleProperty

styleContextHasClass

styleContextHasRegion

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

Deprecated: (Since version 3.14)

styleContextInvalidate

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

styleContextNotifyStateChange :: (MonadIO m, StyleContextK a, WindowK b) => a -> b -> Maybe (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

styleContextRemoveProvider

styleContextRemoveProviderForScreen

styleContextRemoveProviderForScreen :: (MonadIO m, ScreenK a, StyleProviderK b) => a -> b -> m () Source

styleContextRemoveRegion

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

Deprecated: (Since version 3.14)

styleContextResetWidgets

styleContextResetWidgets :: (MonadIO m, ScreenK a) => a -> m () Source

styleContextRestore

styleContextSave

styleContextScrollAnimations

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

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

styleContextSetBackground

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

styleContextSetFrameClock :: (MonadIO m, StyleContextK a, FrameClockK b) => a -> b -> m () Source

styleContextSetJunctionSides

styleContextSetParent

styleContextSetPath

styleContextSetScale

styleContextSetScreen

data StyleContextSetScreenMethodInfo Source

Instances

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

styleContextSetScreen :: (MonadIO m, StyleContextK a, ScreenK b) => a -> b -> m () Source

styleContextSetState

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

constructStyleContextPaintClock :: FrameClockK a => a -> IO ([Char], GValue) Source

getStyleContextPaintClock :: (MonadIO m, StyleContextK o) => o -> m FrameClock Source

setStyleContextPaintClock :: (MonadIO m, StyleContextK o, FrameClockK a) => o -> a -> m () Source

Parent

Screen

constructStyleContextScreen :: ScreenK a => a -> IO ([Char], GValue) Source

setStyleContextScreen :: (MonadIO m, StyleContextK o, ScreenK a) => o -> a -> m () Source

Signals

Changed