PeasGtk.Configurable

g GObject.GInterface GObject.GInterface PeasGtk.Configurable PeasGtk.Configurable GObject.GInterface->PeasGtk.Configurable

Implementations:

None

Methods

create_configure_widget ()

Virtual Methods

do_create_configure_widget ()

Properties

None

Signals

None

Fields

None

Class Details

class PeasGtk.Configurable
Bases:

GObject.GInterface

Structure:

PeasGtk.ConfigurableInterface

Interface for configurable plugins.

create_configure_widget()
Returns:

A Gtk.Widget used for configuration.

Return type:

Gtk.Widget

Creates the configure widget for the plugin.

The returned widget should allow configuring all the relevant aspects of the plugin, and should allow instant-apply, as promoted by the Gnome Human Interface Guidelines.

[class`PluginManager`] will embed the returned widget into a dialog box, but you shouldn’t take this behaviour for granted as other implementations of a plugin manager UI might do otherwise.

This method should always return a valid [class`Gtk`.Widget] instance, never None.

do_create_configure_widget() virtual
Returns:

A Gtk.Widget used for configuration.

Return type:

Gtk.Widget

Creates the configure widget for the plugin.

The returned widget should allow configuring all the relevant aspects of the plugin, and should allow instant-apply, as promoted by the Gnome Human Interface Guidelines.

[class`PluginManager`] will embed the returned widget into a dialog box, but you shouldn’t take this behaviour for granted as other implementations of a plugin manager UI might do otherwise.

This method should always return a valid [class`Gtk`.Widget] instance, never None.