gtk3-0.14.1: 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 |
Ord StyleProvider |
GObjectClass StyleProvider |
StyleProviderClass StyleProvider |

class GObjectClass o => StyleProviderClass o

Instances

StyleProviderClass StyleProvider |

castToStyleProvider :: GObjectClass obj => obj -> StyleProvider

gTypeStyleProvider :: GType

toStyleProvider :: StyleProviderClass o => o -> StyleProvider