Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype StyleSchemeChooser = StyleSchemeChooser (ManagedPtr StyleSchemeChooser)
- noStyleSchemeChooser :: Maybe StyleSchemeChooser
- class (GObject o, IsDescendantOf StyleSchemeChooser o) => IsStyleSchemeChooser o
- toStyleSchemeChooser :: (MonadIO m, IsStyleSchemeChooser o) => o -> m StyleSchemeChooser
- styleSchemeChooserGetStyleScheme :: (HasCallStack, MonadIO m, IsStyleSchemeChooser a) => a -> m StyleScheme
- styleSchemeChooserSetStyleScheme :: (HasCallStack, MonadIO m, IsStyleSchemeChooser a, IsStyleScheme b) => a -> b -> m ()
- constructStyleSchemeChooserStyleScheme :: (IsStyleSchemeChooser o, IsStyleScheme a) => a -> IO (GValueConstruct o)
- getStyleSchemeChooserStyleScheme :: (MonadIO m, IsStyleSchemeChooser o) => o -> m StyleScheme
- setStyleSchemeChooserStyleScheme :: (MonadIO m, IsStyleSchemeChooser o, IsStyleScheme a) => o -> a -> m ()
Exported types
newtype StyleSchemeChooser Source #
Memory-managed wrapper type.
StyleSchemeChooser (ManagedPtr StyleSchemeChooser) |
Instances
GObject StyleSchemeChooser Source # | |
Defined in GI.GtkSource.Interfaces.StyleSchemeChooser gobjectType :: IO GType | |
HasParentTypes StyleSchemeChooser Source # | |
Defined in GI.GtkSource.Interfaces.StyleSchemeChooser | |
type ParentTypes StyleSchemeChooser Source # | |
Defined in GI.GtkSource.Interfaces.StyleSchemeChooser |
noStyleSchemeChooser :: Maybe StyleSchemeChooser Source #
A convenience alias for Nothing
:: Maybe
StyleSchemeChooser
.
class (GObject o, IsDescendantOf StyleSchemeChooser o) => IsStyleSchemeChooser o Source #
Type class for types which can be safely cast to StyleSchemeChooser
, for instance with toStyleSchemeChooser
.
Instances
(GObject o, IsDescendantOf StyleSchemeChooser o) => IsStyleSchemeChooser o Source # | |
Defined in GI.GtkSource.Interfaces.StyleSchemeChooser |
toStyleSchemeChooser :: (MonadIO m, IsStyleSchemeChooser o) => o -> m StyleSchemeChooser Source #
Cast to StyleSchemeChooser
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
getStyleScheme
styleSchemeChooserGetStyleScheme Source #
:: (HasCallStack, MonadIO m, IsStyleSchemeChooser a) | |
=> a |
|
-> m StyleScheme | Returns: the currently-selected scheme. |
Gets the currently-selected scheme.
Since: 3.16
setStyleScheme
styleSchemeChooserSetStyleScheme Source #
:: (HasCallStack, MonadIO m, IsStyleSchemeChooser a, IsStyleScheme b) | |
=> a |
|
-> b |
|
-> m () |
Sets the scheme.
Since: 3.16
Properties
styleScheme
The :style-scheme property contains the currently selected style scheme. The property can be set to change the current selection programmatically.
Since: 3.16
constructStyleSchemeChooserStyleScheme :: (IsStyleSchemeChooser o, IsStyleScheme a) => a -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “style-scheme
” property. This is rarely needed directly, but it is used by new
.
getStyleSchemeChooserStyleScheme :: (MonadIO m, IsStyleSchemeChooser o) => o -> m StyleScheme Source #
Get the value of the “style-scheme
” property.
When overloading is enabled, this is equivalent to
get
styleSchemeChooser #styleScheme
setStyleSchemeChooserStyleScheme :: (MonadIO m, IsStyleSchemeChooser o, IsStyleScheme a) => o -> a -> m () Source #
Set the value of the “style-scheme
” property.
When overloading is enabled, this is equivalent to
set
styleSchemeChooser [ #styleScheme:=
value ]