Graphics.UI.Gtk.General.StyleProvider

gtk3-0.14.5: 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
- Typess

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`.

# Typess

data StyleProvider #

Instances

Eq StyleProvider # |
Methods (==) :: StyleProvider -> StyleProvider -> Bool # (/=) :: StyleProvider -> StyleProvider -> Bool #
Ord StyleProvider # |
Methods compare :: StyleProvider -> StyleProvider -> Ordering # (<) :: StyleProvider -> StyleProvider -> Bool # (<=) :: StyleProvider -> StyleProvider -> Bool # (>) :: StyleProvider -> StyleProvider -> Bool # (>=) :: StyleProvider -> StyleProvider -> Bool # max :: StyleProvider -> StyleProvider -> StyleProvider # min :: StyleProvider -> StyleProvider -> StyleProvider #
GObjectClass StyleProvider # |
Methods toGObject :: StyleProvider -> GObject # unsafeCastGObject :: GObject -> StyleProvider #
StyleProviderClass StyleProvider # |

class GObjectClass o => StyleProviderClass o #

Instances

StyleProviderClass StyleProvider # |

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

gTypeStyleProvider :: GType #

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