GnuCash c935c2f+
Loading...
Searching...
No Matches
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.
 
GncPlugin * gnc_plugin_basic_commands_new (void)
 Create a new basic commands menu plugin.
 

Detailed Description

Macro Definition Documentation

◆ GNC_PLUGIN_ACCOUNT_TREE_NAME

#define GNC_PLUGIN_ACCOUNT_TREE_NAME   "gnc-plugin-account-tree"

Definition at line 47 of file gnc-plugin-account-tree.h.

◆ GNC_PLUGIN_BASIC_COMMANDS_NAME

#define GNC_PLUGIN_BASIC_COMMANDS_NAME   "gnc-plugin-basic-commands"

Definition at line 46 of file gnc-plugin-basic-commands.h.

◆ GNC_TYPE_PLUGIN_ACCOUNT_TREE

#define GNC_TYPE_PLUGIN_ACCOUNT_TREE   (gnc_plugin_account_tree_get_type ())

Definition at line 44 of file gnc-plugin-account-tree.h.

◆ GNC_TYPE_PLUGIN_BASIC_COMMANDS

#define GNC_TYPE_PLUGIN_BASIC_COMMANDS   (gnc_plugin_basic_commands_get_type ())

Definition at line 43 of file gnc-plugin-basic-commands.h.

◆ PLUGIN_ACTIONS_NAME [1/2]

#define PLUGIN_ACTIONS_NAME   "gnc-plugin-account-tree-actions"

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

◆ PLUGIN_ACTIONS_NAME [2/2]

#define PLUGIN_ACTIONS_NAME   "gnc-plugin-basic-commands-actions"

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

◆ PLUGIN_UI_FILENAME [1/2]

#define PLUGIN_UI_FILENAME   "gnc-plugin-account-tree.ui"

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

◆ PLUGIN_UI_FILENAME [2/2]

#define PLUGIN_UI_FILENAME   "gnc-plugin-basic-commands.ui"

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

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.