38 #ifndef __GNC_TREE_MODEL_ACCOUNT_TYPES_H
39 #define __GNC_TREE_MODEL_ACCOUNT_TYPES_H
46 #define GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES (gnc_tree_model_account_types_get_type ())
47 #define GNC_TREE_MODEL_ACCOUNT_TYPES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES, GncTreeModelAccountTypes))
48 #define GNC_TREE_MODEL_ACCOUNT_TYPES_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES, GncTreeModelAccountTypesClass))
49 #define GNC_IS_TREE_MODEL_ACCOUNT_TYPES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES))
50 #define GNC_IS_TREE_MODEL_ACCOUNT_TYPES_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES))
51 #define GNC_TREE_MODEL_ACCOUNT_TYPES_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES, GncTreeModelAccountTypesClass))
55 GNC_TREE_MODEL_ACCOUNT_TYPES_COL_TYPE,
56 GNC_TREE_MODEL_ACCOUNT_TYPES_COL_NAME,
57 GNC_TREE_MODEL_ACCOUNT_TYPES_COL_SELECTED,
58 GNC_TREE_MODEL_ACCOUNT_TYPES_NUM_COLUMNS
59 } GncTreeModelAccountTypesColumn;
74 GType gnc_tree_model_account_types_get_type (
void);
112 GtkTreeModel * gnc_tree_model_account_types_filter_using_mask (guint32 types);
115 void gnc_tree_model_account_types_set_mask (GtkTreeModel *f_model,
119 guint32 gnc_tree_model_account_types_get_mask (GtkTreeModel *f_model);
125 guint32 gnc_tree_model_account_types_get_selection(GtkTreeSelection *sel);
132 gnc_tree_model_account_types_get_selection_single(GtkTreeSelection *sel);
137 void gnc_tree_model_account_types_set_selection(GtkTreeSelection *sel,
143 GtkTreeModel *gnc_tree_model_account_types_new(guint32 selected);
Account handling public routines.