GnuCash 7574033+
Loading...
Searching...
No Matches
gnc-plugin-page-register.h File Reference

Functions providing a register page for the GnuCash UI. More...

#include <gtk/gtk.h>
#include "Account.h"
#include "gnc-ledger-display.h"
#include "gnc-plugin-page.h"
#include "gnc-split-reg.h"
#include "Query.h"
#include "gnc-plugin-page-register-filter.hpp"
#include "gnc-plugin-page-register-sort.hpp"

Go to the source code of this file.

Data Structures

struct  GncPluginPageRegister
struct  GncPluginPageRegisterClass

Macros

#define GNC_TYPE_PLUGIN_PAGE_REGISTER   (gnc_plugin_page_register_get_type ())
#define GNC_PLUGIN_PAGE_REGISTER(obj)
#define GNC_PLUGIN_PAGE_REGISTER_CLASS(klass)
#define GNC_IS_PLUGIN_PAGE_REGISTER(obj)
#define GNC_IS_PLUGIN_PAGE_REGISTER_CLASS(klass)
#define GNC_PLUGIN_PAGE_REGISTER_GET_CLASS(obj)
#define GNC_PLUGIN_PAGE_REGISTER_NAME   "GncPluginPageRegister"

Functions

GType gnc_plugin_page_register_get_type (void)
 Retrieve the type number for the plugin page.
GncPluginPage * gnc_plugin_page_register_new (Account *account, gboolean subaccounts)
 Create a new "register" plugin page, given a pointer to an account.
GncPluginPage * gnc_plugin_page_register_new_ledger (GNCLedgerDisplay *ledger)
 Create a new "register" plugin page, given a pointer to an already created ledger.
GncPluginPage * gnc_plugin_page_register_new_gl (void)
 Create a new "register" plugin page containing a general journal.
void gnc_plugin_page_register_set_options (GncPluginPage *plugin_page, gint lines_default, gboolean read_only)
 Set various register options on a newly created "register" plugin page.
GNCSplitReg * gnc_plugin_page_register_get_gsr (GncPluginPage *plugin_page)
 Get the GNCSplitReg data structure associated with this register page.
FilterData * gnc_plugin_page_register_get_filter_data (GncPluginPage *plugin_page)
 Get the FilterData data structure associated with this register page.
SortData * gnc_plugin_page_register_get_sort_data (GncPluginPage *plugin_page)
 Get the SortData data structure associated with this register page.
Query * gnc_plugin_page_register_get_query (GncPluginPage *plugin_page)
 This function is called to get the query associated with this plugin page.
void gnc_plugin_page_register_update_for_search_query (GncPluginPageRegister *page)
 This checks if the register is a search register and if so saves the query.
void gnc_plugin_page_register_query_update (GncPluginPageRegister *page, Query *query)
 This updates the query after the filters have been applied.
void gnc_plugin_register_set_enable_refresh (GncPluginPageRegister *page, gboolean enable_refresh)
 This allows controlling when refreshes happen, used to reduce refreshes when different aspects of the register filter change, namely date and status.
Account * gnc_plugin_page_register_get_account (GncPluginPageRegister *page)
 Get the Account associated with this register page.
Transaction * gnc_plugin_page_register_get_current_txn (GncPluginPageRegister *page)
 Get the currently selected transaction in this register page.
void gnc_plugin_page_register_clear_current_filter (GncPluginPage *plugin_page)
 This function clears the registers current filter.

Detailed Description

Functions providing a register page for the GnuCash UI.

Author
Copyright (C) 2003 Jan Arne Petersen jpete.nosp@m.rsen.nosp@m.@uni-.nosp@m.bonn.nosp@m..de
Copyright (C) 2003 David Hampton hampt.nosp@m.on@e.nosp@m.mploy.nosp@m.ees..nosp@m.org

Definition in file gnc-plugin-page-register.h.