gtksourceview2.StyleSchemeManager — Scheme Manager object for gtksourceview2.View
class gtksourceview2.StyleSchemeManager(gobject.GObject): |
Functions
def gtksourceview2.style_scheme_manager_get_default()
|
gtksourceview2.StyleSchemeManager(
)
Returns: | a new gtksourceview2.StyleSchemeManager . |
Creates a new gtksourceview2.StyleSchemeManager
object.
def append_search_path(path
)
path: | a directory or a filename. |
The append_search_path
() method appends path to the list of
directories where the manager looks for style scheme files. See
gtksourceview2.StyleSchemeManager.set_search_path
()
for details.
def force_rescan()
The force_rescan
() method 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.
def get_scheme(scheme_id
)
scheme_id: | style scheme id to find. |
Returns: | a gtksourceview2.StyleScheme
object. |
The get_scheme
() method looks up style scheme by id.
def get_scheme_ids()
Returns: | a list of strings containing the ids of the available style
schemes or None if no style scheme is available. |
The get_scheme_ids
() method
returns the ids of the available style schemes.
def get_search_path()
Returns: | a list of string containing the search path. |
The get_search_path
() method
gets the Returns the current search path for the manager, See
gtksourceview2.StyleSchemeManager.set_search_path
()
for details.
def prepend_search_path(path
)
path: | a directory or a filename. |
The prepend_search_path
() method prepends path to the list of
directories where the manager looks for style scheme files. See
gtksourceview2.StyleSchemeManager.set_search_path
()
for details.