GnuCash  5.6-133-gc519490283+
Files | Data Structures | Macros | Functions
An Account Tree Plugin

Files

 
 
file  gnc-plugin-basic-commands.c
 Functions providing a basic set of menu items.
 
file  gnc-plugin-basic-commands.h
 Functions providing a basic set of menu items.
 

Data Structures

struct  _GncPluginAccountTree
 The instance data structure for an account tree menu plugin. More...
 
struct  _GncPluginBasicCommands
 The instance data structure for an basic commands menu plugin. More...
 

Macros

#define PLUGIN_ACTIONS_NAME   "gnc-plugin-account-tree-actions"
 
#define PLUGIN_UI_FILENAME   "gnc-plugin-account-tree.ui"
 
#define GNC_TYPE_PLUGIN_ACCOUNT_TREE   (gnc_plugin_account_tree_get_type ())
 
#define GNC_PLUGIN_ACCOUNT_TREE_NAME   "gnc-plugin-account-tree"
 
#define PLUGIN_ACTIONS_NAME   "gnc-plugin-basic-commands-actions"
 
#define PLUGIN_UI_FILENAME   "gnc-plugin-basic-commands.ui"
 
#define GNC_TYPE_PLUGIN_BASIC_COMMANDS   (gnc_plugin_basic_commands_get_type ())
 
#define GNC_PLUGIN_BASIC_COMMANDS_NAME   "gnc-plugin-basic-commands"
 

Functions

GncPlugin * gnc_plugin_account_tree_new (void)
 Create a new account tree menu plugin. More...
 
GncPlugin * gnc_plugin_basic_commands_new (void)
 Create a new basic commands menu plugin. More...
 

Detailed Description

Function Documentation

◆ gnc_plugin_account_tree_new()

GncPlugin * gnc_plugin_account_tree_new ( void  )

Create a new account tree menu plugin.

Returns
A pointer to the new object.

Definition at line 79 of file gnc-plugin-account-tree.c.

80 {
81  GncPluginAccountTree *plugin;
82 
83  /* Reference the account tree page plugin to ensure it exists
84  * in the gtk type system. */
85  GNC_TYPE_PLUGIN_PAGE_ACCOUNT_TREE;
86 
87  plugin = g_object_new (GNC_TYPE_PLUGIN_ACCOUNT_TREE,
88  NULL);
89 
90  return GNC_PLUGIN (plugin);
91 }

◆ gnc_plugin_basic_commands_new()

GncPlugin * gnc_plugin_basic_commands_new ( void  )

Create a new basic commands menu plugin.

Returns
A pointer to the new object.

Definition at line 187 of file gnc-plugin-basic-commands.c.

188 {
189  GncPluginBasicCommands *plugin;
190 
191  /* We just need to mention it, so the GType is registered and will be
192  * reflected during plugin-page restore. */
194 
195  plugin = g_object_new (GNC_TYPE_PLUGIN_BASIC_COMMANDS, NULL);
196 
197  return GNC_PLUGIN (plugin);
198 }
#define GNC_TYPE_PLUGIN_PAGE_SX_LIST
Functions providing a list of scheduled transactions as a plugin page.