Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
Interface to provide style information to StyleContext
- 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 Source
class GObjectClass o => StyleProviderClass o Source
castToStyleProvider :: GObjectClass obj => obj -> StyleProvider Source
toStyleProvider :: StyleProviderClass o => o -> StyleProvider Source