GtkSource.StyleSchemeChooser

g GObject.GInterface GObject.GInterface GtkSource.StyleSchemeChooser GtkSource.StyleSchemeChooser GObject.GInterface->GtkSource.StyleSchemeChooser

Implementations:
 GtkSource.StyleSchemeChooserButton, GtkSource.StyleSchemeChooserWidget

Methods

  get_style_scheme ()
  set_style_scheme (scheme)

Virtual Methods

  do_get_style_scheme ()
  do_set_style_scheme (scheme)

Properties

Name Type Flags Short Description
style-scheme GtkSource.StyleScheme r/w Current style scheme

Signals

None

Fields

None

Class Details

class GtkSource.StyleSchemeChooser
Bases:GObject.GInterface
Structure:GtkSource.StyleSchemeChooserInterface
get_style_scheme()
Returns:the currently-selected scheme.
Return type:GtkSource.StyleScheme

Gets the currently-selected scheme.

New in version 3.16.

set_style_scheme(scheme)
Parameters:scheme (GtkSource.StyleScheme) – a GtkSource.StyleScheme

Sets the scheme.

New in version 3.16.

do_get_style_scheme() virtual
Returns:the currently-selected scheme.
Return type:GtkSource.StyleScheme

Gets the currently-selected scheme.

New in version 3.16.

do_set_style_scheme(scheme) virtual
Parameters:scheme (GtkSource.StyleScheme) – a GtkSource.StyleScheme

Sets the scheme.

New in version 3.16.

Property Details

GtkSource.StyleSchemeChooser.props.style_scheme
Name:style-scheme
Type:GtkSource.StyleScheme
Default Value:None
Flags:READABLE, WRITABLE

The :style-scheme property contains the currently selected style scheme. The property can be set to change the current selection programmatically.

New in version 3.16.