29 #ifndef __GNC_BUDGET_VIEW_H 30 #define __GNC_BUDGET_VIEW_H 43 #define GNC_TYPE_BUDGET_VIEW (gnc_budget_view_get_type ()) 44 #define GNC_BUDGET_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_BUDGET_VIEW, GncBudgetView)) 45 #define GNC_BUDGET_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_BUDGET_VIEW, GncBudgetViewClass)) 46 #define GNC_IS_BUDGET_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_BUDGET_VIEW)) 47 #define GNC_IS_BUDGET_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_BUDGET_VIEW)) 48 #define GNC_BUDGET_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_BUDGET_VIEW, GncBudgetViewClass)) 50 #define GNC_BUDGET_VIEW_NAME "GncBudgetView" 57 GType gnc_budget_view_get_type (
void);
64 void gnc_budget_view_save (GncBudgetView *budget_view, GKeyFile *key_file,
const gchar *group_name);
66 void gnc_budget_view_delete_budget (GncBudgetView *budget_view);
67 void gnc_budget_view_save_account_filter (GncBudgetView *budget_view);
68 gboolean gnc_budget_view_restore (GncBudgetView *budget_view, GKeyFile *key_file,
const gchar *group_name);
70 Account* gnc_budget_view_get_account_from_path (GncBudgetView *budget_view, GtkTreePath *path);
71 GList* gnc_budget_view_get_selected_accounts (GncBudgetView *budget_view);
72 GtkWidget *gnc_budget_view_get_account_tree_view (GncBudgetView *budget_view);
73 void gnc_budget_view_set_show_account_code (GncBudgetView *budget_view, gboolean show_account_code);
74 gboolean gnc_budget_view_get_show_account_code (GncBudgetView *budget_view);
75 void gnc_budget_view_set_show_account_description (GncBudgetView *budget_view, gboolean show_account_desc);
76 gboolean gnc_budget_view_get_show_account_description (GncBudgetView *budget_view);
GtkTreeSelection * gnc_budget_view_get_selection(GncBudgetView *budget_view)
returns the current selection in the gnc budget view.
GtkTreeView implementation for gnucash account tree.
GncBudgetView * gnc_budget_view_new(GncBudget *budget, AccountFilterDialog *fd)
Create new gnc budget view.
Functions for adding plugins to a GnuCash window.
void gnc_budget_view_refresh(GncBudgetView *budget_view)
refreshes the current budget view