GPasteGtk.PreferencesManager

g GObject.Object GObject.Object GPasteGtk.PreferencesManager GPasteGtk.PreferencesManager GObject.Object->GPasteGtk.PreferencesManager

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

deregister (page)

get_settings ()

register (page)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GPasteGtk.PreferencesManager(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GPasteGtk.PreferencesManagerClass

classmethod new()
Returns:

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

Return type:

GPasteGtk.PreferencesManager or None

Create a new instance of GPasteGtk.PreferencesManager

deregister(page)
Parameters:

page (GPasteGtk.PreferencesPage) – a GPasteGtk.PreferencesPage instance

Deregister the page from the manager

get_settings()
Returns:

the GPaste.Settings instance

Return type:

GPaste.Settings or None

Returns the GPaste.Settings instance manager by self

register(page)
Parameters:

page (GPasteGtk.PreferencesPage) – a GPasteGtk.PreferencesPage instance

Register the page in the manager to notify for settings changes