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

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

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

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

styleContextRemoveRegion

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

Deprecated: (Since version 3.14)

styleContextResetWidgets

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

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

styleContextSetPath

styleContextSetScale

styleContextSetScreen

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

Parent

Screen

Signals

Changed