GPasteGtk.PreferencesGroup

g Adw.PreferencesGroup Adw.PreferencesGroup GPasteGtk.PreferencesGroup GPasteGtk.PreferencesGroup Adw.PreferencesGroup->GPasteGtk.PreferencesGroup GObject.GInterface GObject.GInterface Gtk.Accessible Gtk.Accessible GObject.GInterface->Gtk.Accessible Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.ConstraintTarget Gtk.ConstraintTarget GObject.GInterface->Gtk.ConstraintTarget GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.Widget Gtk.Widget GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Accessible->Gtk.Widget Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget->Gtk.Widget Gtk.Widget->Adw.PreferencesGroup

Subclasses:

None

Methods

Inherited:

Adw.PreferencesGroup (9), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)

Structs:

Gtk.WidgetClass (18), GObject.ObjectClass (5)

class

new (title)

add_boolean_setting (label, value, on_value_changed, on_reset, *settings)

add_range_setting (label, value, min, max, step, on_value_changed, on_reset, *settings)

add_text_setting (label, value, on_value_changed, on_reset, *settings)

Virtual Methods

Inherited:

Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)

Properties

Inherited:

Adw.PreferencesGroup (3), Gtk.Widget (34), Gtk.Accessible (1)

Signals

Inherited:

Gtk.Widget (13), GObject.Object (1)

Fields

Inherited:

Gtk.Widget (13), GObject.Object (1)

Class Details

class GPasteGtk.PreferencesGroup(**kwargs)
Bases:

Adw.PreferencesGroup

Abstract:

No

Structure:

GPasteGtk.PreferencesGroupClass

classmethod new(title)
Parameters:

title (str) – The title of the preferences group

Returns:

a newly allocated GPasteGtk.PreferencesGroup free it with GObject.Object.unref

Return type:

GPasteGtk.PreferencesGroup

Create a new instance of GPasteGtk.PreferencesGroup

add_boolean_setting(label, value, on_value_changed, on_reset, *settings)
Parameters:
Returns:

the Gtk.Switch we just added

Return type:

Gtk.Switch

Add a new boolean settings to the current pane

add_range_setting(label, value, min, max, step, on_value_changed, on_reset, *settings)
Parameters:
Returns:

the Gtk.SpinButton we just added

Return type:

Gtk.SpinButton

Add a new boolean settings to the current pane

add_text_setting(label, value, on_value_changed, on_reset, *settings)
Parameters:
Returns:

the Gtk.EntryBuffer from the Gtk.Entry we just added

Return type:

Gtk.EntryBuffer

Add a new text settings to the current pane