Tepl.StyleSchemeChooserSimple¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Tepl.StyleSchemeChooserSimple(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(for_dark_theme_variant)¶
- Parameters:
for_dark_theme_variant (
bool
) – whether it’s for choosing a style scheme for a dark GTK theme variant.- Returns:
a new
Tepl.StyleSchemeChooserSimple
widget.- Return type:
Creates a new
Tepl.StyleSchemeChooserSimple
widget.The content of the widget will be different depending on for_dark_theme_variant. That configuration cannot change once the widget is created. If your application supports both the light and dark GTK theme variants, consider using
Tepl.StyleSchemeChooserFull
instead.New in version 6.11.
- get_style_scheme_id()¶
- Returns:
the value of the
Tepl.StyleSchemeChooserSimple
:style-scheme-id
property.- Return type:
New in version 6.11.
- set_style_scheme_id(style_scheme_id)¶
- Parameters:
style_scheme_id (
str
) – the new value.
Sets the
Tepl.StyleSchemeChooserSimple
:style-scheme-id
property.New in version 6.11.
Property Details¶
- Tepl.StyleSchemeChooserSimple.props.style_scheme_id¶
-
The selected
GtkSource.StyleScheme
ID.Its value changes when the user selects another row in the list.
When set, if the ID doesn’t exist, no row is selected.
New in version 6.11.