Tepl.StyleSchemeChooserWidget

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GtkSource.StyleSchemeChooser GtkSource.StyleSchemeChooser GObject.GInterface->GtkSource.StyleSchemeChooser GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Bin Gtk.Bin Tepl.StyleSchemeChooserWidget Tepl.StyleSchemeChooserWidget Gtk.Bin->Tepl.StyleSchemeChooserWidget Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget->Gtk.Container GtkSource.StyleSchemeChooser->Tepl.StyleSchemeChooserWidget

Subclasses:

None

Methods

Inherited:

Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), GtkSource.StyleSchemeChooser (2)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new ()

get_style_scheme_id ()

set_style_scheme_id (style_scheme_id)

Virtual Methods

Inherited:

Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10), GtkSource.StyleSchemeChooser (2)

Properties

Inherited:

Gtk.Container (3), Gtk.Widget (39), GtkSource.StyleSchemeChooser (1)

Name

Type

Flags

Short Description

tepl-style-scheme-id

str

r/w

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent

Gtk.Bin

r

Class Details

class Tepl.StyleSchemeChooserWidget(**kwargs)
Bases:

Gtk.Bin, GtkSource.StyleSchemeChooser

Abstract:

No

Structure:

Tepl.StyleSchemeChooserWidgetClass

classmethod new()
Returns:

a new Tepl.StyleSchemeChooserWidget.

Return type:

Tepl.StyleSchemeChooserWidget

New in version 5.0.

get_style_scheme_id()
Returns:

the value of the Tepl.StyleSchemeChooserWidget :tepl-style-scheme-id property. Free with GLib.free() when no longer needed.

Return type:

str

New in version 5.0.

set_style_scheme_id(style_scheme_id)
Parameters:

style_scheme_id (str) – the new value.

Sets the Tepl.StyleSchemeChooserWidget :tepl-style-scheme-id property.

The GtkSource.StyleScheme is taken from the default GtkSource.StyleSchemeManager as returned by GtkSource.StyleSchemeManager.get_default().

New in version 5.0.

Property Details

Tepl.StyleSchemeChooserWidget.props.tepl_style_scheme_id
Name:

tepl-style-scheme-id

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

The GtkSource.StyleSchemeChooser :style-scheme ID, as a string. This property is useful for binding it to a Gio.Settings key.

When the GtkSource.StyleSchemeChooser :style-scheme is None, this property contains the empty string.

New in version 5.0.