Tepl.PrefsDialog¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Dialog (14), Gtk.Window (119), 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 |
|
class |
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)
Style Properties¶
- Inherited:
Signals¶
Name |
Short Description |
---|---|
The |
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Tepl.PrefsDialog(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod get_singleton()¶
- Returns:
the
Tepl.PrefsDialog
singleton instance.- Return type:
The singleton instance is created with
Tepl.AbstractFactory.create_prefs_dialog
().New in version 6.2.
- classmethod new()¶
- Returns:
a new
Tepl.PrefsDialog
.- Return type:
New in version 6.13.
- add_reset_all_button()¶
Adds a “Reset All” button. When the button is clicked and the user confirms, the
Tepl.PrefsDialog
::reset-all
signal is emitted.New in version 6.13.
- show_for_parent(parent_window)¶
- Parameters:
parent_window (
Gtk.Window
) – the parentGtk.Window
.
This function sets the
Gtk.Window
:transient-for
property and presents self.New in version 6.2.
Signal Details¶
- Tepl.PrefsDialog.signals.reset_all(prefs_dialog)¶
- Signal Name:
reset-all
- Flags:
- Parameters:
prefs_dialog (
Tepl.PrefsDialog
) – The object which received the signal
The
::reset-all
signal is emitted when the user has requested to reset all preferences.Applications should connect to this signal to perform the operation.
Tepl.Settings.reset_all
() may be useful for that.See
Tepl.PrefsDialog.add_reset_all_button
().New in version 6.13.