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