GnuCash  4.11-148-gc20d717b33+
Typedefs | Enumerations | Functions
gnc-ledger-display2.h File Reference

Public declarations for GncLedgerDisplay2 class. More...

#include <glib.h>
#include "Account.h"
#include "Query.h"
#include "split-register.h"
#include "SchedXaction.h"
#include "Transaction.h"
#include "gnc-tree-model-split-reg.h"
#include "gnc-tree-view-split-reg.h"

Go to the source code of this file.

Typedefs

typedef void(* GNCLedgerDisplay2Destroy) (GNCLedgerDisplay2 *ld)
 
typedef GtkWidget *(* GNCLedgerDisplay2GetParent) (GNCLedgerDisplay2 *ld)
 
typedef void(* GNCLedgerDisplay2SetHelp) (GNCLedgerDisplay2 *ld, const char *help_str)
 

Enumerations

enum  GNCLedgerDisplay2Type { LD2_SINGLE, LD2_SUBACCOUNT, LD2_GL }
 

Functions

Accountgnc_ledger_display2_leader (GNCLedgerDisplay2 *ld)
 returns the 'lead' account of a ledger display, or NULL if none. More...
 
GNCLedgerDisplay2Type gnc_ledger_display2_type (GNCLedgerDisplay2 *ld)
 
void gnc_ledger_display2_set_user_data (GNCLedgerDisplay2 *ld, gpointer user_data)
 get and set the user data associated with the ledger
 
gpointer gnc_ledger_display2_get_user_data (GNCLedgerDisplay2 *ld)
 
void gnc_ledger_display2_set_handlers (GNCLedgerDisplay2 *ld, GNCLedgerDisplay2Destroy destroy, GNCLedgerDisplay2GetParent get_parent)
 set the handlers used by the ledger display
 
void gnc_ledger_display2_set_split_view_register (GNCLedgerDisplay2 *ld, GncTreeViewSplitReg *view)
 Set and Get the tree view used by the ledger display.
 
GncTreeViewSplitReggnc_ledger_display2_get_split_view_register (GNCLedgerDisplay2 *ld)
 
void gnc_ledger_display2_set_split_view_refresh (GNCLedgerDisplay2 *ld, gboolean ok)
 
GtkWidget * gnc_ledger_display2_get_parent (GNCLedgerDisplay2 *ld)
 Returns the parent of a given ledger display.
 
GncTreeModelSplitReggnc_ledger_display2_get_split_model_register (GNCLedgerDisplay2 *ld)
 return the split register associated with a ledger display
 
GNCLedgerDisplay2 * gnc_ledger_display2_simple (Account *account)
 opens up a register window to display a single account
 
GNCLedgerDisplay2 * gnc_ledger_display2_subaccounts (Account *account, gboolean mismatched_commodities)
 opens up a register window to display the parent account and all of its children. More...
 
GNCLedgerDisplay2 * gnc_ledger_display2_gl (void)
 opens up a general ledger window
 
GNCLedgerDisplay2 * gnc_ledger_display2_template_gl (char *id)
 Displays a template ledger. More...
 
GNCLedgerDisplay2 * gnc_ledger_display2_query (Query *query, SplitRegisterType2 type, SplitRegisterStyle2 style)
 display a general ledger for an arbitrary query
 
void gnc_ledger_display2_set_query (GNCLedgerDisplay2 *ledger_display, Query *q)
 Set the query used for a register. More...
 
Query * gnc_ledger_display2_get_query (GNCLedgerDisplay2 *ld)
 return the query associated with a ledger
 
GNCLedgerDisplay2 * gnc_ledger_display2_find_by_query (Query *q)
 If the given ledger display still exists, return it. More...
 
void gnc_ledger_display2_refresh (GNCLedgerDisplay2 *ledger_display)
 redisplay/redraw only the indicated window. More...
 
void gnc_ledger_display2_refresh_by_split_register (GncTreeModelSplitReg *model)
 
void gnc_ledger_display2_refresh_sched (GNCLedgerDisplay2 *ld, GList *splits)
 This is used to load the register for the schedule.
 
void gnc_ledger_display2_refilter (GNCLedgerDisplay2 *ld)
 Refilter the register.
 
void gnc_ledger_display2_close (GNCLedgerDisplay2 *ledger_display)
 close the window
 
gboolean gnc_ledger_display2_default_double_line (GNCLedgerDisplay2 *gld)
 Returns a boolean of whether this display should be single or double lined mode by default.
 

Detailed Description

Public declarations for GncLedgerDisplay2 class.

Definition in file gnc-ledger-display2.h.