Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkTreeView ╰── PeasGtkPluginManagerView
PeasGtkPluginManagerView implements AtkImplementorIface, GtkBuildable and GtkScrollable.
The PeasGtkPluginManagerView is a tree view that can be used to manage plugins, i.e. load or unload them, and see some pieces of information.
The only thing you need to do as an application writer if you wish
to use the view to display your plugins is to instantiate it using
peas_gtk_plugin_manager_view_new()
and pack it into another
widget or a window.
Note: Changing the model of the view is not supported.
GtkWidget *
peas_gtk_plugin_manager_view_new (PeasEngine *engine
);
Creates a new plugin manager view for the given PeasEngine.
If engine
is NULL
, then the default engine will be used.
void peas_gtk_plugin_manager_view_set_show_builtin (PeasGtkPluginManagerView *view
,gboolean show_builtin
);
peas_gtk_plugin_manager_view_set_show_builtin
has been deprecated since version 1.2 and should not be used in newly-written code.
Use hidden plugins instead.
Sets if builtin plugins should be shown.
gboolean
peas_gtk_plugin_manager_view_get_show_builtin
(PeasGtkPluginManagerView *view
);
peas_gtk_plugin_manager_view_get_show_builtin
has been deprecated since version 1.2 and should not be used in newly-written code.
Use hidden plugins instead.
Returns if builtin plugins should be shown.
void peas_gtk_plugin_manager_view_set_selected_plugin (PeasGtkPluginManagerView *view
,PeasPluginInfo *info
);
Selects the given plugin.
PeasPluginInfo *
peas_gtk_plugin_manager_view_get_selected_plugin
(PeasGtkPluginManagerView *view
);
Returns the currently selected plugin, or NULL
if a plugin is not selected.
struct PeasGtkPluginManagerView;
The PeasGtkPluginManagerView structure contains only private data and should only be accessed using the provided API.
struct PeasGtkPluginManagerViewClass { GtkTreeViewClass parent_class; void (*populate_popup) (PeasGtkPluginManagerView *view, GtkMenu *menu); };
The class structure for PeasGtkPluginManagerView.
“engine”
property“engine” PeasEngine *
The PeasEngine this view is attached to.
Flags: Read / Write / Construct Only
“populate-popup”
signalvoid user_function (PeasGtkPluginManagerView *view, GtkMenu *menu, gpointer user_data)
The ::populate-popup signal is 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
.
Flags: Run Last