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