GnuCash
2.6.99
|
Files | |
file | gnc-plugin-page-register.h |
Functions providing a register page for the GnuCash UI. | |
Data Structures | |
struct | GncPluginPageRegister2 |
struct | GncPluginPageRegister2Class |
Macros | |
#define | GNC_TYPE_PLUGIN_PAGE_REGISTER2 (gnc_plugin_page_register2_get_type ()) |
#define | GNC_PLUGIN_PAGE_REGISTER2(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_REGISTER2, GncPluginPageRegister2)) |
#define | GNC_PLUGIN_PAGE_REGISTER2_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_REGISTER2, GncPluginPageRegister2Class)) |
#define | GNC_IS_PLUGIN_PAGE_REGISTER2(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_REGISTER2)) |
#define | GNC_IS_PLUGIN_PAGE_REGISTER2_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_REGISTER2)) |
#define | GNC_PLUGIN_PAGE_REGISTER2_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_REGISTER2, GncPluginPageRegister2Class)) |
#define | GNC_PLUGIN_PAGE_REGISTER2_NAME "GncPluginPageRegister2" |
Functions | |
GType | gnc_plugin_page_register2_get_type (void) |
GncPluginPage * | gnc_plugin_page_register2_new (Account *account, gboolean subaccounts) |
GncPluginPage * | gnc_plugin_page_register2_new_ledger (GNCLedgerDisplay2 *ledger) |
GncPluginPage * | gnc_plugin_page_register2_new_gl (void) |
void | gnc_plugin_page_register2_set_options (GncPluginPage *plugin_page, gint lines_default, gboolean read_only) |
GNCSplitReg2 * | gnc_plugin_page_register2_get_gsr (GncPluginPage *plugin_page) |
GNCLedgerDisplay2 * | gnc_plugin_page_register2_get_ledger (GncPluginPage *plugin_page) |
Account * | gnc_plugin_page_register2_get_account (GncPluginPageRegister2 *page) |
Account* gnc_plugin_page_register2_get_account | ( | GncPluginPageRegister2 * | page | ) |
Get the Account associated with this register page.
page | A "register" page. |
Definition at line 798 of file gnc-plugin-page-register2.c.
GNCSplitReg2* gnc_plugin_page_register2_get_gsr | ( | GncPluginPage * | plugin_page | ) |
Get the GNCSplitReg data structure associated with this register page.
plugin_page | A "register" page. |
Definition at line 3838 of file gnc-plugin-page-register2.c.
GNCLedgerDisplay2* gnc_plugin_page_register2_get_ledger | ( | GncPluginPage * | plugin_page | ) |
Get the GNCLedgerDisplay data structure associated with this register page.
plugin_page | A "register" page. |
Definition at line 3853 of file gnc-plugin-page-register2.c.
GType gnc_plugin_page_register2_get_type | ( | void | ) |
Retrieve the type number for the plugin page.
Definition at line 560 of file gnc-plugin-page-register2.c.
GncPluginPage* gnc_plugin_page_register2_new | ( | Account * | account, |
gboolean | subaccounts | ||
) |
Create a new "register" plugin page, given a pointer to an account.
account | The pointer to the account to embed in the register. |
subaccounts | TRUE if all the sub-accounts of the specified account should be included in the register. |
Definition at line 653 of file gnc-plugin-page-register2.c.
GncPluginPage* gnc_plugin_page_register2_new_gl | ( | void | ) |
Create a new "register" plugin page containing a general ledger.
Definition at line 699 of file gnc-plugin-page-register2.c.
GncPluginPage* gnc_plugin_page_register2_new_ledger | ( | GNCLedgerDisplay2 * | ledger | ) |
Create a new "register" plugin page, given a pointer to an already created ledger. This function should be used when the ledger already exists. (E.G. From the "find transaction" code, or from the scheduled transaction code.)
ledger | The pointer to the ledger to embed into the register. |
Definition at line 708 of file gnc-plugin-page-register2.c.
void gnc_plugin_page_register2_set_options | ( | GncPluginPage * | plugin_page, |
gint | lines_default, | ||
gboolean | read_only | ||
) |
Set various register options on a newly created "register" plugin page.
plugin_page | The "register" page to modify. |
lines_default | Used to calculate the minimum preferred height of the plugin page. |
read_only | True if the register should be read-only. |
Definition at line 3822 of file gnc-plugin-page-register2.c.