34 #ifndef __GNC_TREE_MODEL_OWNER_H
35 #define __GNC_TREE_MODEL_OWNER_H
45 #define GNC_TYPE_TREE_MODEL_OWNER (gnc_tree_model_owner_get_type ())
46 #define GNC_TREE_MODEL_OWNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_TREE_MODEL_OWNER, GncTreeModelOwner))
47 #define GNC_TREE_MODEL_OWNER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_TREE_MODEL_OWNER, GncTreeModelOwnerClass))
48 #define GNC_IS_TREE_MODEL_OWNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_TREE_MODEL_OWNER))
49 #define GNC_IS_TREE_MODEL_OWNER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_TREE_MODEL_OWNER))
50 #define GNC_TREE_MODEL_OWNER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_TREE_MODEL_OWNER, GncTreeModelOwnerClass))
51 #define GNC_TREE_MODEL_OWNER_NAME "GncTreeModelOwner"
56 GNC_TREE_MODEL_OWNER_COL_NAME,
57 GNC_TREE_MODEL_OWNER_COL_TYPE,
58 GNC_TREE_MODEL_OWNER_COL_ID,
59 GNC_TREE_MODEL_OWNER_COL_CURRENCY,
60 GNC_TREE_MODEL_OWNER_COL_ADDRESS_NAME,
61 GNC_TREE_MODEL_OWNER_COL_ADDRESS_1,
62 GNC_TREE_MODEL_OWNER_COL_ADDRESS_2,
63 GNC_TREE_MODEL_OWNER_COL_ADDRESS_3,
64 GNC_TREE_MODEL_OWNER_COL_ADDRESS_4,
65 GNC_TREE_MODEL_OWNER_COL_PHONE,
66 GNC_TREE_MODEL_OWNER_COL_FAX,
67 GNC_TREE_MODEL_OWNER_COL_EMAIL,
68 GNC_TREE_MODEL_OWNER_COL_BALANCE,
69 GNC_TREE_MODEL_OWNER_COL_BALANCE_REPORT,
70 GNC_TREE_MODEL_OWNER_COL_NOTES,
71 GNC_TREE_MODEL_OWNER_COL_ACTIVE,
73 GNC_TREE_MODEL_OWNER_COL_LAST_VISIBLE = GNC_TREE_MODEL_OWNER_COL_ACTIVE,
76 GNC_TREE_MODEL_OWNER_COL_COLOR_BALANCE,
78 GNC_TREE_MODEL_OWNER_NUM_COLUMNS
79 } GncTreeModelOwnerColumn;
Business Interface: Object OWNERs.
GncTreeModel gnc_tree_model
GncTreeModelClass gnc_tree_model
GtkTreeModel implementation for a generic gnucash tree.
GType gnc_tree_model_owner_get_type(void)
GtkTreeModel * gnc_tree_model_owner_new(GncOwnerType owner_type)
GtkTreePath * gnc_tree_model_owner_get_path_from_owner(GncTreeModelOwner *model, GncOwner *owner)
GncOwner * gnc_tree_model_owner_get_owner(GncTreeModelOwner *model, GtkTreeIter *iter)
gboolean gnc_tree_model_owner_get_iter_from_owner(GncTreeModelOwner *model, GncOwner *owner, GtkTreeIter *iter)