gtk3-0.15.10: Binding to the Gtk+ 3 graphical user interface library

Maintainer | gtk2hs-users@lists.sourceforge.net
Stability | provisional
Portability | portable (depends on GHC)
Safe Haskell | None
Language | Haskell98

Graphics.UI.Gtk.General.StyleProvider

Contents

- Description
- Types

Description

Interface to provide style information to `StyleContext`

Synopsis

- data StyleProvider
- class GObjectClass o => StyleProviderClass o
- castToStyleProvider :: GObjectClass obj => obj -> StyleProvider
- gTypeStyleProvider :: GType
- toStyleProvider :: StyleProviderClass o => o -> StyleProvider

# Description

`StyleProvider` is an interface used to provide style information to a `StyleContext`. See `styleContextAddProvider` and `styleContextAddProviderForScreen`.

`StyleProvider` is implemented by `CssProvider` and `Settings`.

# Types

data StyleProvider Source #

#### Instances

Instances details

Eq StyleProvider Source # |
Instance details Defined in Graphics.UI.Gtk.Types Methods (==) :: StyleProvider -> StyleProvider -> Bool Source # (/=) :: StyleProvider -> StyleProvider -> Bool Source #
Ord StyleProvider Source # |

Instance details

Defined in Graphics.UI.Gtk.Types

Methods

compare :: StyleProvider -> StyleProvider -> Ordering Source #

(<) :: StyleProvider -> StyleProvider -> Bool Source #

(<=) :: StyleProvider -> StyleProvider -> Bool Source #

(>) :: StyleProvider -> StyleProvider -> Bool Source #

(>=) :: StyleProvider -> StyleProvider -> Bool Source #

max :: StyleProvider -> StyleProvider -> StyleProvider Source #

min :: StyleProvider -> StyleProvider -> StyleProvider Source #

GObjectClass StyleProvider Source # |
Instance details Defined in Graphics.UI.Gtk.Types Methods toGObject :: StyleProvider -> GObject Source # unsafeCastGObject :: GObject -> StyleProvider Source #
StyleProviderClass StyleProvider Source # |
Instance details Defined in Graphics.UI.Gtk.Types

class GObjectClass o => StyleProviderClass o Source #

#### Instances

Instances details

StyleProviderClass CssProvider Source # |
Instance details Defined in Graphics.UI.Gtk.General.CssProvider
StyleProviderClass StyleProvider Source # |
Instance details Defined in Graphics.UI.Gtk.Types

castToStyleProvider :: GObjectClass obj => obj -> StyleProvider Source #

gTypeStyleProvider :: GType Source #

toStyleProvider :: StyleProviderClass o => o -> StyleProvider Source #