Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
- data SourceStyleSchemeManager
- class GObjectClass o => SourceStyleSchemeManagerClass o
- sourceStyleSchemeManagerNew :: IO SourceStyleSchemeManager
- sourceStyleSchemeManagerGetDefault :: IO SourceStyleSchemeManager
- sourceStyleSchemeManagerSetSearchPath :: SourceStyleSchemeManagerClass sssm => sssm -> Maybe [String] -> IO ()
- sourceStyleSchemeManagerAppendSearchPath :: SourceStyleSchemeManagerClass sssm => sssm -> String -> IO ()
- sourceStyleSchemeManagerPrependSearchPath :: SourceStyleSchemeManagerClass sssm => sssm -> String -> IO ()
- sourceStyleSchemeManagerGetSearchPath :: SourceStyleSchemeManagerClass sssm => sssm -> IO [String]
- sourceStyleSchemeManagerGetSchemeIds :: SourceStyleSchemeManagerClass sssm => sssm -> IO [String]
- sourceStyleSchemeManagerGetScheme :: SourceStyleSchemeManagerClass sssm => sssm -> String -> IO SourceStyleScheme
- sourceStyleSchemeManagerForceRescan :: SourceStyleSchemeManagerClass sssm => sssm -> IO ()
- sourceStyleSchemeManagerStyleIds :: SourceStyleSchemeManagerClass sssm => ReadAttr sssm [String]
- sourceStyleSchemeManagerSearchPath :: SourceStyleSchemeManagerClass sssm => ReadWriteAttr sssm [String] (Maybe [String])
Types
class GObjectClass o => SourceStyleSchemeManagerClass o Source
Methods
sourceStyleSchemeManagerNew :: IO SourceStyleSchemeManagerSource
Creates a new style manager. If you do not need more than one style manager then use
sourceStyleSchemeManagerGetDefault
instead.
sourceStyleSchemeManagerGetDefaultSource
:: IO SourceStyleSchemeManager | returns a |
Returns the default SourceStyleSchemeManager
instance.
sourceStyleSchemeManagerSetSearchPath :: SourceStyleSchemeManagerClass sssm => sssm -> Maybe [String] -> IO ()Source
Sets the list of directories where the manager looks for style scheme files. If dirs is Nothing
, the
search path is reset to default.
sourceStyleSchemeManagerAppendSearchPathSource
:: SourceStyleSchemeManagerClass sssm | |
=> sssm | |
-> String |
|
-> IO () |
Appends path to the list of directories where the manager looks for style scheme files. See
sourceStyleSchemeManagerSetSearchPath
for details.
sourceStyleSchemeManagerPrependSearchPathSource
:: SourceStyleSchemeManagerClass sssm | |
=> sssm | |
-> String |
|
-> IO () |
Prepends path to the list of directories where the manager looks for style scheme files. See
sourceStyleSchemeManagerSetSearchPath
for details.
sourceStyleSchemeManagerGetSearchPath :: SourceStyleSchemeManagerClass sssm => sssm -> IO [String]Source
Returns the current search path for the manager. See
sourceStyleSchemeManagerSetSearchPath
for details.
sourceStyleSchemeManagerGetSchemeIds :: SourceStyleSchemeManagerClass sssm => sssm -> IO [String]Source
Returns the ids of the available style schemes.
sourceStyleSchemeManagerGetSchemeSource
:: SourceStyleSchemeManagerClass sssm | |
=> sssm | |
-> String |
|
-> IO SourceStyleScheme |
Looks up style scheme by id.
sourceStyleSchemeManagerForceRescan :: SourceStyleSchemeManagerClass sssm => sssm -> IO ()Source
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.
Attributes
sourceStyleSchemeManagerStyleIds :: SourceStyleSchemeManagerClass sssm => ReadAttr sssm [String]Source
List of the ids of the available style schemes.
sourceStyleSchemeManagerSearchPath :: SourceStyleSchemeManagerClass sssm => ReadWriteAttr sssm [String] (Maybe [String])Source
List of directories and files where the style schemes are located.