GnuCash  5.6-150-g038405b370+
Data Structures | Macros | Functions

Functions for adding plugins to a Gnucash window. More...

#include <config.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include "gnc-plugin.h"
#include "gnc-engine.h"
#include "gnc-filepath-utils.h"
#include "gnc-gnome-utils.h"
#include "gnc-gobject-utils.h"
#include "gnc-gtk-utils.h"

Go to the source code of this file.

Data Structures

struct  GncPluginPrivate
 The instance private data for a menu-only plugin. More...
 

Macros

#define GNC_PLUGIN_GET_PRIVATE(o)   ((GncPluginPrivate*)gnc_plugin_get_instance_private((GncPlugin*)o))
 

Functions

 G_DEFINE_TYPE_WITH_CODE (GncPlugin, gnc_plugin, G_TYPE_OBJECT, G_ADD_PRIVATE(GncPlugin))
 Initialize the class for the new gnucash plugin object. More...
 
void gnc_plugin_add_to_window (GncPlugin *plugin, GncMainWindow *window, GQuark type)
 Add the specified plugin from the specified window. More...
 
void gnc_plugin_remove_from_window (GncPlugin *plugin, GncMainWindow *window, GQuark type)
 Remove the specified plugin from the specified window. More...
 
const gchar * gnc_plugin_get_name (GncPlugin *plugin)
 Retrieve the textual name of a plugin. More...
 
void gnc_plugin_init_short_names (GtkWidget *toolbar, GncToolBarShortNames *toolbar_labels)
 Add "short" labels to existing actions. More...
 
void gnc_plugin_set_actions_enabled (GActionMap *action_map, const gchar **action_names, gboolean enable)
 This function sets the sensitivity of a GAction in a specific group. More...
 
void gnc_plugin_add_menu_tooltip_callbacks (GtkWidget *menubar, GMenuModel *menubar_model, GtkWidget *statusbar)
 This function adds the tooltip callbacks to make the tooltips appear in the status bar. More...
 
void gnc_plugin_add_toolbar_tooltip_callbacks (GtkWidget *toolbar, GtkWidget *statusbar)
 This function adds the tooltip callbacks to make the tooltips appear in the status bar. More...
 

Detailed Description

Functions for adding plugins to a Gnucash window.

Author
Copyright (C) 2003 Jan Arne Petersen jpete.nosp@m.rsen.nosp@m.@uni-.nosp@m.bonn.nosp@m..de
Copyright (C) 2003,2005 David Hampton hampt.nosp@m.on@e.nosp@m.mploy.nosp@m.ees..nosp@m.org

Definition in file gnc-plugin.c.