GnuCash  4.13-74-g66d9f1383e+
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  GncPluginAccountTreePrivate
 The instance private data structure for an account tree plugin. More...
 
struct  GncPluginAccountTree
 The instance data structure for an account tree menu plugin. More...
 
struct  GncPluginAccountTreeClass
 The class data structure for an account tree menu plugin. More...
 
struct  GncPluginBasicCommandsPrivate
 The instance private data structure for an basic commands plugin. More...
 
struct  GncPluginBasicCommands
 The instance data structure for an basic commands menu plugin. More...
 
struct  GncPluginBasicCommandsClass
 The class data structure for a basic commands menu plugin. More...
 

Macros

#define PLUGIN_ACTIONS_NAME   "gnc-plugin-account-tree-actions"
 
#define PLUGIN_UI_FILENAME   "gnc-plugin-account-tree-ui.xml"
 
#define GNC_PLUGIN_ACCOUNT_TREE_GET_PRIVATE(o)   ((GncPluginAccountTreePrivate*)gnc_plugin_account_tree_get_instance_private((GncPluginAccountTree*)o))
 
#define GNC_TYPE_PLUGIN_ACCOUNT_TREE   (gnc_plugin_account_tree_get_type ())
 
#define GNC_PLUGIN_ACCOUNT_TREE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_ACCOUNT_TREE, GncPluginAccountTree))
 
#define GNC_PLUGIN_ACCOUNT_TREE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_ACCOUNT_TREE, GncPluginAccountTreeClass))
 
#define GNC_IS_PLUGIN_ACCOUNT_TREE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_ACCOUNT_TREE))
 
#define GNC_IS_PLUGIN_ACCOUNT_TREE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_ACCOUNT_TREE))
 
#define GNC_PLUGIN_ACCOUNT_TREE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_ACCOUNT_TREE, GncPluginAccountTreeClass))
 
#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.xml"
 
#define GNC_PLUGIN_BASIC_COMMANDS_GET_PRIVATE(o)   ((GncPluginBasicCommandsPrivate*)gnc_plugin_basic_commands_get_instance_private((GncPluginBasicCommands*)o))
 
#define GNC_TYPE_PLUGIN_BASIC_COMMANDS   (gnc_plugin_basic_commands_get_type ())
 
#define GNC_PLUGIN_BASIC_COMMANDS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_BASIC_COMMANDS, GncPluginBasicCommands))
 
#define GNC_PLUGIN_BASIC_COMMANDS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_BASIC_COMMANDS, GncPluginBasicCommandsClass))
 
#define GNC_IS_PLUGIN_BASIC_COMMANDS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_BASIC_COMMANDS))
 
#define GNC_IS_PLUGIN_BASIC_COMMANDS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_BASIC_COMMANDS))
 
#define GNC_PLUGIN_BASIC_COMMANDS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_BASIC_COMMANDS, GncPluginBasicCommandsClass))
 
#define GNC_PLUGIN_BASIC_COMMANDS_NAME   "gnc-plugin-basic-commands"
 

Functions

GncPlugingnc_plugin_account_tree_new (void)
 Create a new account tree menu plugin. More...
 
GType gnc_plugin_account_tree_get_type (void)
 Get the type of the account tree menu plugin. More...
 
GncPlugingnc_plugin_basic_commands_new (void)
 Create a new basic commands menu plugin. More...
 
GType gnc_plugin_basic_commands_get_type (void)
 Get the type of the basic commands menu plugin. More...
 

Detailed Description

Function Documentation

◆ gnc_plugin_account_tree_get_type()

GType gnc_plugin_account_tree_get_type ( void  )

Get the type of the account tree menu plugin.

Returns
A GType.

◆ 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 84 of file gnc-plugin-account-tree.c.

85 {
86  GncPluginAccountTree *plugin;
87 
88  /* Reference the account tree page plugin to ensure it exists
89  * in the gtk type system. */
90  GNC_TYPE_PLUGIN_PAGE_ACCOUNT_TREE;
91 
92  plugin = g_object_new (GNC_TYPE_PLUGIN_ACCOUNT_TREE,
93  NULL);
94 
95  return GNC_PLUGIN (plugin);
96 }
The instance data structure for an account tree menu plugin.

◆ gnc_plugin_basic_commands_get_type()

GType gnc_plugin_basic_commands_get_type ( void  )

Get the type of the basic commands menu plugin.

Returns
A GType.

◆ 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 289 of file gnc-plugin-basic-commands.c.

290 {
291  GncPluginBasicCommands *plugin;
292 
293  /* We just need to mention it, so the GType is registered and will be
294  * reflected during plugin-page restore. */
296 
297  plugin = g_object_new (GNC_TYPE_PLUGIN_BASIC_COMMANDS, NULL);
298 
299  return GNC_PLUGIN (plugin);
300 }
The instance data structure for an basic commands menu plugin.
#define GNC_TYPE_PLUGIN_PAGE_SX_LIST
Functions providing a list of scheduled transactions as a plugin page.