GnuCash
4.11-145-g15ce9be79a+
|
GtkTreeModel implementation for gnucash commodities. More...
Go to the source code of this file.
Data Structures | |
struct | GncTreeModelCommodity |
The instance data structure for a commodity tree model. More... | |
struct | GncTreeModelCommodityClass |
The class data structure for a commodity tree model. More... | |
Macros | |
#define | GNC_TYPE_TREE_MODEL_COMMODITY (gnc_tree_model_commodity_get_type ()) |
#define | GNC_TREE_MODEL_COMMODITY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_TREE_MODEL_COMMODITY, GncTreeModelCommodity)) |
#define | GNC_TREE_MODEL_COMMODITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_TREE_MODEL_COMMODITY, GncTreeModelCommodityClass)) |
#define | GNC_IS_TREE_MODEL_COMMODITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_TREE_MODEL_COMMODITY)) |
#define | GNC_IS_TREE_MODEL_COMMODITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_TREE_MODEL_COMMODITY)) |
#define | GNC_TREE_MODEL_COMMODITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_TREE_MODEL_COMMODITY, GncTreeModelCommodityClass)) |
#define | GNC_TREE_MODEL_COMMODITY_NAME "GncTreeModelCommodity" |
Functions | |
GType | gnc_tree_model_commodity_get_type (void) |
Get the type of a commodity tree plugin. More... | |
Account Tree Model Constructors | |
GtkTreeModel * | gnc_tree_model_commodity_new (QofBook *book, gnc_commodity_table *ct) |
Create a new GtkTreeModel for manipulating gnucash commodities. More... | |
Commodity Tree Model Filter Helper Functions | |
gboolean | gnc_tree_model_commodity_iter_is_namespace (GncTreeModelCommodity *model, GtkTreeIter *iter) |
Determine whether or not the specified GtkTreeIter points to a commodity namespace. More... | |
gboolean | gnc_tree_model_commodity_iter_is_commodity (GncTreeModelCommodity *model, GtkTreeIter *iter) |
Determine whether or not the specified GtkTreeIter points to a commodity. More... | |
gnc_commodity_namespace * | gnc_tree_model_commodity_get_namespace (GncTreeModelCommodity *model, GtkTreeIter *iter) |
Convert a model/iter pair to a gnucash commodity namespace. More... | |
gnc_commodity * | gnc_tree_model_commodity_get_commodity (GncTreeModelCommodity *model, GtkTreeIter *iter) |
Convert a model/iter pair to a gnucash commodity. More... | |
Commodity Tree Model Lookup Functions | |
gboolean | gnc_tree_model_commodity_get_iter_from_namespace (GncTreeModelCommodity *model, gnc_commodity_namespace *name_space, GtkTreeIter *iter) |
Convert a commodity namespace pointer into a GtkTreeIter. More... | |
gboolean | gnc_tree_model_commodity_get_iter_from_commodity (GncTreeModelCommodity *model, gnc_commodity *commodity, GtkTreeIter *iter) |
Convert a commodity pointer into a GtkTreeIter. More... | |
GtkTreePath * | gnc_tree_model_commodity_get_path_from_commodity (GncTreeModelCommodity *model, gnc_commodity *commodity) |
Convert a commodity pointer into a GtkTreePath. More... | |
GtkTreeModel implementation for gnucash commodities.
Definition in file gnc-tree-model-commodity.h.