gtksource.style_scheme_manager

Module for [StyleSchemeManager] class

Types 3

Methods
GType _gType() @property
StyleSchemeManager self()Returns `this`, for use in `with` statements.
StyleSchemeManagerGidBuilder builder()Get builder for [gtksource.styleschememanager.StyleSchemeManager] Returns: New builder object
gtksource.style_scheme_manager.StyleSchemeManager getDefault()Returns the default #GtkSourceStyleSchemeManager instance. Returns: a #GtkSourceStyleSchemeManager. Return value is owned by GtkSourceView library and must not be unref'ed.
void appendSearchPath(string path)Appends path to the list of directories where the manager looks for style scheme files. See [gtksource.styleschememanager.StyleSchemeManager.setSearchPath] for details.
void forceRescan()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.
gtksource.style_scheme.StyleScheme getScheme(string schemeId)Looks up style scheme by id.
string[] getSchemeIds()Returns the ids of the available style schemes. Returns: a null-terminated array of strings containing the ids of the available style schemes or null if no style scheme is available. The array is s...
string[] getSearchPath()Returns the current search path for the manager. See [gtksource.styleschememanager.StyleSchemeManager.setSearchPath] for details. Returns: a null-terminated array of string containing the search pa...
void prependSearchPath(string path)Prepends path to the list of directories where the manager looks for style scheme files. See [gtksource.styleschememanager.StyleSchemeManager.setSearchPath] for details.
void setSearchPath(string[] path = null)Sets the list of directories where the manager looks for style scheme files. If path is null, the search path is reset to default.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new style manager. If you do not need more than one style manager then use [gtksource.styleschememanager.StyleSchemeManager.getDefault] instead. Returns: a new #GtkSourceStyleSchemeManager.

Fluent builder for [gtksource.style_scheme_manager.StyleSchemeManager]