XApp.PreferencesWindow¶
- Subclasses:
None
Methods¶
- Inherited:
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 |
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Window (5), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)
|
Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class XApp.PreferencesWindow(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a newly created
XApp.PreferencesWindow
- Return type:
Creates a new
XApp.PreferencesWindow
.
- add_button(button, pack_type)¶
- Parameters:
button (
Gtk.Widget
) – aGtk.Widget
to addpack_type (
Gtk.PackType
) – aGtk.PackType
to use
Adds a button to the bottom action bar of the window. Where the button is place will be determined by the
Gtk.PackType
. The action bar will show automatically once at least one button is added.
- add_page(widget, name, title)¶
- Parameters:
widget (
Gtk.Widget
) – aGtk.Widget
to addname (
str
) – the name for the pagetitle (
str
) – a human-readable title for the page
Adds a page to the window. The page is identified by name. The title will be used in the sidebar so should be short. The sidebar will show automatically once at least two pages are added.
- do_close() virtual¶
Signal Details¶
- XApp.PreferencesWindow.signals.close(preferences_window)¶
- Signal Name:
close
- Flags:
- Parameters:
preferences_window (
XApp.PreferencesWindow
) – The object which received the signal