PeasGtk.PluginManagerView¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.TreeView (98), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Scrollable (9)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.TreeView (15), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10), Gtk.Scrollable (1)
|
Properties¶
- Inherited:
Gtk.TreeView (18), Gtk.Container (3), Gtk.Widget (39), Gtk.Scrollable (4)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The |
||
d/r/w |
If builtin plugins should be shown |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.TreeView (15), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Short Description |
---|---|
Emitted before showing the context menu of the view. |
Fields¶
- Inherited:
Gtk.TreeView (15), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class PeasGtk.PluginManagerView(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
PeasGtk.PluginManagerView
structure contains only private data and should only be accessed using the provided API.- classmethod new(engine)¶
- Parameters:
engine (
Peas.Engine
orNone
) – APeas.Engine
, orNone
.- Returns:
the new
PeasGtk.PluginManagerView
.- Return type:
Creates a new plugin manager view for the given [class`Peas`.Engine].
If engine is
None
, then the default engine will be used.
- get_selected_plugin()¶
- Returns:
the selected plugin.
- Return type:
Returns the currently selected plugin, or
None
if a plugin is not selected.
- get_show_builtin()¶
- Returns:
if builtin plugins should be shown.
- Return type:
Returns if builtin plugins should be shown.
Deprecated since version 1.2: Use hidden plugins instead.
- set_selected_plugin(info)¶
- Parameters:
info (
Peas.PluginInfo
) – APeas.PluginInfo
.
Selects the given plugin.
- set_show_builtin(show_builtin)¶
- Parameters:
show_builtin (
bool
) – If builtin plugins should be shown.
Sets if builtin plugins should be shown.
Deprecated since version 1.2: Use hidden plugins instead.
- do_populate_popup(menu) virtual¶
- Parameters:
menu (
Gtk.Menu
) –
Signal class handler for the
PeasGtk.PluginManagerView
::populate-popup
signal.
Signal Details¶
- PeasGtk.PluginManagerView.signals.populate_popup(plugin_manager_view, menu)¶
- Signal Name:
populate-popup
- Flags:
- Parameters:
plugin_manager_view (
PeasGtk.PluginManagerView
) – The object which received the signal
Emitted before showing the context menu of the view.
If you need to add items to the context menu, connect to this signal and add your menuitems to the menu.
Property Details¶
- PeasGtk.PluginManagerView.props.engine¶
- Name:
engine
- Type:
- Default Value:
- Flags:
The
Peas.Engine
this view is attached to