gtksource.style_scheme_manager

Module for [StyleSchemeManager] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
StyleSchemeManager self() nothrowReturns `this`, for use in `with` statements.
StyleSchemeManagerGidBuilder builder() static nothrowGet builder for [gtksource.style_scheme_manager.StyleSchemeManager] Returns: New builder object
gtksource.style_scheme_manager.StyleSchemeManager getDefault() static nothrowReturns the default #GtkSourceStyleSchemeManager instance. Returns: a #GtkSourceStyleSchemeManager. Return value is owned by GtkSourceView library and must not be unref'ed.
void appendSearchPath(string path) nothrowAppends path to the list of directories where the manager looks for style scheme files. See [gtksource.style_scheme_manager.StyleSchemeManager.setSearchPath] for details.
void forceRescan() nothrowMark 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) nothrowLooks up style scheme by id.
string[] getSchemeIds() nothrowReturns 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() nothrowReturns the current search path for the manager. See [gtksource.style_scheme_manager.StyleSchemeManager.setSearchPath] for details. Returns: a null-terminated array of string containing the search ...
void prependSearchPath(string path) nothrowPrepends path to the list of directories where the manager looks for style scheme files. See [gtksource.style_scheme_manager.StyleSchemeManager.setSearchPath] for details.
void setSearchPath(string[] path = null) nothrowSets 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.style_scheme_manager.StyleSchemeManager.getDefault] instead. Returns: a new #GtkSourceStyleSchemeMana...