31 #ifndef GNC_ACCOUNT_SEL_H
32 #define GNC_ACCOUNT_SEL_H
36 #define GNC_TYPE_ACCOUNT_SEL (gnc_account_sel_get_type())
37 #define GNC_ACCOUNT_SEL(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GNC_TYPE_ACCOUNT_SEL, GNCAccountSel)
38 #define GNC_ACCOUNT_SEL_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, GNC_TYPE_ACCOUNT_SEL, GNCAccountSelClass)
39 #define GNC_IS_ACCOUNT_SEL(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, GNC_TYPE_ACCOUNT_SEL)
48 GList *acctTypeFilters;
49 GList *acctCommodityFilters;
53 GtkWidget *newAccountButton;
56 GCompletion *completion;
62 GtkHBoxClass parent_class;
68 GType gnc_account_sel_get_type (
void);
69 GtkWidget* gnc_account_sel_new (
void);
76 void gnc_account_sel_set_account(
GNCAccountSel *gas,
Account *acct, gboolean set_default_acct );
89 void gnc_account_sel_set_acct_filters(
GNCAccountSel *gas, GList *typeFilters, GList *commodityFilters );
96 void gnc_account_sel_set_new_account_ability(
GNCAccountSel *gas,
103 void gnc_account_sel_set_new_account_modal(
GNCAccountSel *gas,
Account handling public routines.