Class: GtkSource::StyleSchemeManager

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGtkSource::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

.defaultGtkSource::StyleSchemeManager

Returns the default Gtk::SourceStyleSchemeManager instance. is owned by GtkSourceView library and must not be unref'ed.

Returns:

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.

Parameters:

  • path (String)

    a directory or a filename.

Returns:

  • (nil)

#force_rescannil

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.

Returns:

  • (nil)

#get_scheme(scheme_id) ⇒ GtkSource::StyleScheme

Looks up style scheme by id.

Parameters:

  • scheme_id (String)

    style scheme id to find.

Returns:

  • (GtkSource::StyleScheme)

    a Gtk::SourceStyleScheme object. The returned value is owned by manager and must not be unref'ed.

#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.

Parameters:

  • path (String)

    a directory or a filename.

Returns:

  • (nil)

#scheme_idsGtkSource::

Returns scheme-ids.

Returns:

#scheme_ids=(scheme_ids) ⇒ GtkSource::

Parameters:

Returns:

#search_pathGtkSource::

Returns search-path.

Returns:

#search_path=(search_path) ⇒ GtkSource::

Parameters:

Returns: