88#define GNC_TYPE_PLUGIN (gnc_plugin_get_type ())
89G_DECLARE_DERIVABLE_TYPE (GncPlugin, gnc_plugin, GNC, PLUGIN, GObject)
91#define GNC_PLUGIN_NAME "GncPlugin"
138 (GncPlugin *plugin, GncMainWindow *window, GQuark type);
154 (GncPlugin *plugin, GncMainWindow *window, GQuark type);
170 GncMainWindow *window,
185 GncMainWindow *window,
246 const gchar **action_names,
259 GMenuModel *menubar_model,
260 GtkWidget *statusbar);
270 GtkWidget *statusbar);
Functions for adding content to a window.
Functions for adding plugins to a GnuCash window.
The class data structure for a menu-only plugin.
void(* add_to_window)(GncPlugin *plugin, GncMainWindow *window, GQuark type)
A callback that will be invoked when this plugin is added to a window.
GObjectClass gobject
The parent class for this widget.
const gchar * ui_filename
The relative name of the XML file describing the menu/toolbar action items.
GActionEntry * actions
An array of actions that should automatically be added to any GnuCash "main" content window that is o...
const gchar * actions_name
A name for the set of actions that will be added by this plugin.
guint n_actions
The number of actions in the actions array.
const gchar ** ui_updates
An array of ui updates for the menu model.
void(* remove_from_window)(GncPlugin *plugin, GncMainWindow *window, GQuark type)
A callback that will be invoked when this plugin is removed from a window.
const gchar * plugin_name
The textual name of this plugin.