Class: GtkSource::StyleSchemeManager
- Inherits:
-
Object
- Object
- GtkSource::StyleSchemeManager
- Defined in:
- (unknown)
Class Method Summary collapse
-
.default ⇒ GtkSource::StyleSchemeManager
Returns the default Gtk::SourceStyleSchemeManager instance.
Instance Method Summary collapse
-
#append_search_path(path) ⇒ nil
Appends path to the list of directories where the manager looks for style scheme files.
-
#force_rescan ⇒ nil
Mark any currently cached information about the available style schems as invalid.
-
#get_scheme(scheme_id) ⇒ GtkSource::StyleScheme
Looks up style scheme by id.
-
#initialize ⇒ GtkSource::StyleSchemeManager
constructor
Creates a new style manager.
-
#prepend_search_path(path) ⇒ nil
Prepends path to the list of directories where the manager looks for style scheme files.
-
#scheme_ids ⇒ GtkSource::
Scheme-ids.
- #scheme_ids=(scheme_ids) ⇒ GtkSource::
-
#search_path ⇒ GtkSource::
Search-path.
- #search_path=(search_path) ⇒ GtkSource::
Constructor Details
#initialize ⇒ GtkSource::StyleSchemeManager
Creates a new style manager.
If you do not need more than one style manager then use [funcStyleSchemeManager.get_default] instead.
Class Method Details
.default ⇒ GtkSource::StyleSchemeManager
Returns the default Gtk::SourceStyleSchemeManager instance. is owned by GtkSourceView library and must not be unref'ed.
Instance Method Details
#append_search_path(path) ⇒ nil
Appends path to the list of directories where the manager looks for style scheme files.
See [methodStyleSchemeManager.set_search_path] for details.
#force_rescan ⇒ nil
Mark any currently cached information about the available style schems as invalid.
All the available style schemes will be reloaded next time the manager is accessed.
#get_scheme(scheme_id) ⇒ GtkSource::StyleScheme
Looks up style scheme by id.
#prepend_search_path(path) ⇒ nil
Prepends path to the list of directories where the manager looks for style scheme files.
See [methodStyleSchemeManager.set_search_path] for details.
#scheme_ids ⇒ GtkSource::
Returns scheme-ids.
#scheme_ids=(scheme_ids) ⇒ GtkSource::
#search_path ⇒ GtkSource::
Returns search-path.