Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype StyleSchemeManager = StyleSchemeManager (ManagedPtr StyleSchemeManager)
- class (GObject o, IsDescendantOf StyleSchemeManager o) => IsStyleSchemeManager o
- toStyleSchemeManager :: (MonadIO m, IsStyleSchemeManager o) => o -> m StyleSchemeManager
- styleSchemeManagerAppendSearchPath :: (HasCallStack, MonadIO m, IsStyleSchemeManager a) => a -> Text -> m ()
- styleSchemeManagerForceRescan :: (HasCallStack, MonadIO m, IsStyleSchemeManager a) => a -> m ()
- styleSchemeManagerGetDefault :: (HasCallStack, MonadIO m) => m StyleSchemeManager
- styleSchemeManagerGetScheme :: (HasCallStack, MonadIO m, IsStyleSchemeManager a) => a -> Text -> m StyleScheme
- styleSchemeManagerGetSchemeIds :: (HasCallStack, MonadIO m, IsStyleSchemeManager a) => a -> m (Maybe [Text])
- styleSchemeManagerGetSearchPath :: (HasCallStack, MonadIO m, IsStyleSchemeManager a) => a -> m [Text]
- styleSchemeManagerNew :: (HasCallStack, MonadIO m) => m StyleSchemeManager
- styleSchemeManagerPrependSearchPath :: (HasCallStack, MonadIO m, IsStyleSchemeManager a) => a -> Text -> m ()
- styleSchemeManagerSetSearchPath :: (HasCallStack, MonadIO m, IsStyleSchemeManager a) => a -> Maybe [Text] -> m ()
- getStyleSchemeManagerSchemeIds :: (MonadIO m, IsStyleSchemeManager o) => o -> m (Maybe [Text])
- clearStyleSchemeManagerSearchPath :: (MonadIO m, IsStyleSchemeManager o) => o -> m ()
- constructStyleSchemeManagerSearchPath :: (IsStyleSchemeManager o, MonadIO m) => [Text] -> m (GValueConstruct o)
- getStyleSchemeManagerSearchPath :: (MonadIO m, IsStyleSchemeManager o) => o -> m [Text]
- setStyleSchemeManagerSearchPath :: (MonadIO m, IsStyleSchemeManager o) => o -> [Text] -> m ()
Exported types
newtype StyleSchemeManager Source #
Memory-managed wrapper type.
StyleSchemeManager (ManagedPtr StyleSchemeManager) |
Instances
class (GObject o, IsDescendantOf StyleSchemeManager o) => IsStyleSchemeManager o Source #
Type class for types which can be safely cast to StyleSchemeManager
, for instance with toStyleSchemeManager
.
Instances
(GObject o, IsDescendantOf StyleSchemeManager o) => IsStyleSchemeManager o Source # | |
Defined in GI.GtkSource.Objects.StyleSchemeManager |
toStyleSchemeManager :: (MonadIO m, IsStyleSchemeManager o) => o -> m StyleSchemeManager Source #
Cast to StyleSchemeManager
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
appendSearchPath, bindProperty, bindPropertyFull, forceFloating, forceRescan, freezeNotify, getv, isFloating, notify, notifyByPspec, prependSearchPath, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata, getScheme, getSchemeIds, getSearchPath.
Setters
appendSearchPath
styleSchemeManagerAppendSearchPath Source #
:: (HasCallStack, MonadIO m, IsStyleSchemeManager a) | |
=> a |
|
-> Text |
|
-> m () |
Appends path
to the list of directories where the manager
looks for
style scheme files.
See styleSchemeManagerSetSearchPath
for details.
forceRescan
styleSchemeManagerForceRescan Source #
:: (HasCallStack, MonadIO m, IsStyleSchemeManager a) | |
=> a |
|
-> m () |
Mark any currently cached information about the available style scehems
as invalid. All the available style schemes will be reloaded next time
the manager
is accessed.
getDefault
styleSchemeManagerGetDefault Source #
:: (HasCallStack, MonadIO m) | |
=> m StyleSchemeManager | Returns: a |
Returns the default StyleSchemeManager
instance.
getScheme
styleSchemeManagerGetScheme Source #
:: (HasCallStack, MonadIO m, IsStyleSchemeManager a) | |
=> a |
|
-> Text |
|
-> m StyleScheme | Returns: a |
Looks up style scheme by id.
getSchemeIds
styleSchemeManagerGetSchemeIds Source #
:: (HasCallStack, MonadIO m, IsStyleSchemeManager a) | |
=> a |
|
-> m (Maybe [Text]) | Returns:
a |
Returns the ids of the available style schemes.
getSearchPath
styleSchemeManagerGetSearchPath Source #
:: (HasCallStack, MonadIO m, IsStyleSchemeManager a) | |
=> a |
|
-> m [Text] | Returns: a |
Returns the current search path for the manager
.
See styleSchemeManagerSetSearchPath
for details.
new
styleSchemeManagerNew Source #
:: (HasCallStack, MonadIO m) | |
=> m StyleSchemeManager | Returns: a new |
Creates a new style manager. If you do not need more than one style
manager then use styleSchemeManagerGetDefault
instead.
prependSearchPath
styleSchemeManagerPrependSearchPath Source #
:: (HasCallStack, MonadIO m, IsStyleSchemeManager a) | |
=> a |
|
-> Text |
|
-> m () |
Prepends path
to the list of directories where the manager
looks
for style scheme files.
See styleSchemeManagerSetSearchPath
for details.
setSearchPath
styleSchemeManagerSetSearchPath Source #
:: (HasCallStack, MonadIO m, IsStyleSchemeManager a) | |
=> a |
|
-> Maybe [Text] | |
-> m () |
Sets the list of directories where the manager
looks for
style scheme files.
If path
is Nothing
, the search path is reset to default.
Properties
schemeIds
No description available in the introspection data.
getStyleSchemeManagerSchemeIds :: (MonadIO m, IsStyleSchemeManager o) => o -> m (Maybe [Text]) Source #
Get the value of the “scheme-ids
” property.
When overloading is enabled, this is equivalent to
get
styleSchemeManager #schemeIds
searchPath
No description available in the introspection data.
clearStyleSchemeManagerSearchPath :: (MonadIO m, IsStyleSchemeManager o) => o -> m () Source #
Set the value of the “search-path
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#searchPath
constructStyleSchemeManagerSearchPath :: (IsStyleSchemeManager o, MonadIO m) => [Text] -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “search-path
” property. This is rarely needed directly, but it is used by new
.
getStyleSchemeManagerSearchPath :: (MonadIO m, IsStyleSchemeManager o) => o -> m [Text] Source #
Get the value of the “search-path
” property.
When overloading is enabled, this is equivalent to
get
styleSchemeManager #searchPath
setStyleSchemeManagerSearchPath :: (MonadIO m, IsStyleSchemeManager o) => o -> [Text] -> m () Source #
Set the value of the “search-path
” property.
When overloading is enabled, this is equivalent to
set
styleSchemeManager [ #searchPath:=
value ]