GnuCash  5.6-150-g038405b370+
Files | Data Structures | Macros | Functions
Non-GAction Menu Support

Files

file  gnc-plugin-menu-additions.c
 Functions providing menu items from scheme code.
 
file  gnc-plugin-menu-additions.h
 Functions providing menu items from scheme code.
 

Data Structures

struct  _GncPluginMenuAdditions
 
struct  GncPluginMenuAdditionsPerWindow
 Per-window private data for this plugin. More...
 

Macros

#define PLUGIN_ACTIONS_NAME   "gnc-plugin-menu-additions-actions"
 
#define GNC_TYPE_PLUGIN_MENU_ADDITIONS   (gnc_plugin_menu_additions_get_type ())
 
#define GNC_PLUGIN_MENU_ADDITIONS_NAME   "gnc-plugin-menu-additions"
 

Functions

GncPlugin * gnc_plugin_menu_additions_new (void)
 Create a new menu_additions plugin. More...
 

Detailed Description

Function Documentation

◆ gnc_plugin_menu_additions_new()

GncPlugin * gnc_plugin_menu_additions_new ( void  )

Create a new menu_additions plugin.

This plugin attaches the menu items from Scheme code to any window that is opened.

Returns
A pointer to the new object.

Definition at line 144 of file gnc-plugin-menu-additions.c.

145 {
146  GncPlugin *plugin_page = NULL;
147 
148  ENTER("");
149  plugin_page = GNC_PLUGIN (g_object_new (GNC_TYPE_PLUGIN_MENU_ADDITIONS, NULL));
150  LEAVE("plugin %p", plugin_page);
151  return plugin_page;
152 }
#define ENTER(format, args...)
Print a function entry debugging message.
Definition: qoflog.h:272
#define LEAVE(format, args...)
Print a function exit debugging message.
Definition: qoflog.h:282