gtksourceview2-0.13.0.0: Binding to the GtkSourceView library.

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

Graphics.UI.Gtk.SourceView.SourceStyleSchemeManager

Contents

Description

 

Synopsis

Types

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

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

Arguments

:: (SourceStyleSchemeManagerClass sssm, GlibFilePath fp) 
=> sssm 
-> fp

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.

sourceStyleSchemeManagerPrependSearchPath Source

Arguments

:: (SourceStyleSchemeManagerClass sssm, GlibFilePath fp) 
=> sssm 
-> fp

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

Arguments

:: (SourceStyleSchemeManagerClass sssm, GlibString string) 
=> 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, 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.