gtksourceview2-0.12.2: Binding to the GtkSourceView library.

Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net

Graphics.UI.Gtk.SourceView.SourceStyleSchemeManager

Contents

Description

 

Synopsis

Types

Methods

sourceStyleSchemeManagerNew :: IO SourceStyleSchemeManagerSource

Creates a new style manager. If you do not need more than one style manager then use sourceStyleSchemeManagerGetDefault instead.

sourceStyleSchemeManagerGetDefaultSource

Arguments

:: IO SourceStyleSchemeManager

returns a SourceStyleSchemeManager. Return value is owned by SourceView library and must not be unref'ed.

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

Arguments

:: SourceStyleSchemeManagerClass sssm 
=> sssm 
-> String

path a directory or a filename.

-> IO () 

Appends path to the list of directories where the manager looks for style scheme files. See sourceStyleSchemeManagerSetSearchPath for details.

sourceStyleSchemeManagerPrependSearchPathSource

Arguments

:: SourceStyleSchemeManagerClass sssm 
=> sssm 
-> String

path a directory or a filename.

-> 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

Arguments

:: SourceStyleSchemeManagerClass sssm 
=> sssm 
-> String

schemeId style scheme id to find

-> 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.