GnuCash
5.6-150-g038405b370+
|
GtkTreeModel implementation for gnucash price database. More...
Go to the source code of this file.
Macros | |
#define | GNC_TYPE_TREE_MODEL_PRICE (gnc_tree_model_price_get_type ()) |
#define | GNC_TREE_MODEL_PRICE_NAME "GncTreeModelPrice" |
Functions | |
Account Tree Model Constructors | |
GtkTreeModel * | gnc_tree_model_price_new (QofBook *book, GNCPriceDB *price_db) |
Create a new GtkTreeModel for manipulating gnucash commodity prices. More... | |
Price Tree Model Filter Helper Functions | |
gboolean | gnc_tree_model_price_iter_is_namespace (GncTreeModelPrice *model, GtkTreeIter *iter) |
Determine whether or not the specified GtkTreeIter points to a "commodity namespace". More... | |
gboolean | gnc_tree_model_price_iter_is_commodity (GncTreeModelPrice *model, GtkTreeIter *iter) |
Determine whether or not the specified GtkTreeIter points to a commodity. More... | |
gboolean | gnc_tree_model_price_iter_is_price (GncTreeModelPrice *model, GtkTreeIter *iter) |
Determine whether or not the specified GtkTreeIter points to a price. More... | |
gnc_commodity_namespace * | gnc_tree_model_price_get_namespace (GncTreeModelPrice *model, GtkTreeIter *iter) |
Convert a model/iter pair to a gnucash commodity namespace. More... | |
gnc_commodity * | gnc_tree_model_price_get_commodity (GncTreeModelPrice *model, GtkTreeIter *iter) |
Convert a model/iter pair to a gnucash commodity. More... | |
GNCPrice * | gnc_tree_model_price_get_price (GncTreeModelPrice *model, GtkTreeIter *iter) |
Convert a model/iter pair to a gnucash price. More... | |
Commodity Tree Model Lookup Functions | |
gboolean | gnc_tree_model_price_get_iter_from_namespace (GncTreeModelPrice *model, gnc_commodity_namespace *name_space, GtkTreeIter *iter) |
Convert a commodity namespace pointer into a GtkTreeIter. More... | |
gboolean | gnc_tree_model_price_get_iter_from_commodity (GncTreeModelPrice *model, gnc_commodity *commodity, GtkTreeIter *iter) |
Convert a commodity pointer into a GtkTreeIter. More... | |
gboolean | gnc_tree_model_price_get_iter_from_price (GncTreeModelPrice *model, GNCPrice *price, GtkTreeIter *iter) |
Convert a price pointer into a GtkTreeIter. More... | |
GtkTreePath * | gnc_tree_model_price_get_path_from_price (GncTreeModelPrice *model, GNCPrice *price) |
Convert a price pointer into a GtkTreePath. More... | |
GtkTreeModel implementation for gnucash price database.
Definition in file gnc-tree-model-price.h.