GtkTreeModel implementation for gnucash commodities.
More...
#include <gtk/gtk.h>
#include "gnc-tree-model.h"
#include "gnc-commodity.h"
Go to the source code of this file.
|
#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" |
|
|
enum | GncTreeModelCommodityColumn {
GNC_TREE_MODEL_COMMODITY_COL_NAMESPACE,
GNC_TREE_MODEL_COMMODITY_COL_MNEMONIC,
GNC_TREE_MODEL_COMMODITY_COL_USER_SYMBOL,
GNC_TREE_MODEL_COMMODITY_COL_FULLNAME,
GNC_TREE_MODEL_COMMODITY_COL_PRINTNAME,
GNC_TREE_MODEL_COMMODITY_COL_UNIQUE_NAME,
GNC_TREE_MODEL_COMMODITY_COL_CUSIP,
GNC_TREE_MODEL_COMMODITY_COL_FRACTION,
GNC_TREE_MODEL_COMMODITY_COL_QUOTE_FLAG,
GNC_TREE_MODEL_COMMODITY_COL_QUOTE_SOURCE,
GNC_TREE_MODEL_COMMODITY_COL_QUOTE_TZ,
GNC_TREE_MODEL_COMMODITY_COL_LAST_VISIBLE = GNC_TREE_MODEL_COMMODITY_COL_QUOTE_TZ,
GNC_TREE_MODEL_COMMODITY_COL_VISIBILITY,
GNC_TREE_MODEL_COMMODITY_NUM_COLUMNS
} |
|
|
GType | gnc_tree_model_commodity_get_type (void) |
|
|
GtkTreeModel * | gnc_tree_model_commodity_new (QofBook *book, gnc_commodity_table *ct) |
|
|
gboolean | gnc_tree_model_commodity_iter_is_namespace (GncTreeModelCommodity *model, GtkTreeIter *iter) |
|
gboolean | gnc_tree_model_commodity_iter_is_commodity (GncTreeModelCommodity *model, GtkTreeIter *iter) |
|
gnc_commodity_namespace * | gnc_tree_model_commodity_get_namespace (GncTreeModelCommodity *model, GtkTreeIter *iter) |
|
gnc_commodity * | gnc_tree_model_commodity_get_commodity (GncTreeModelCommodity *model, GtkTreeIter *iter) |
|
|
gboolean | gnc_tree_model_commodity_get_iter_from_namespace (GncTreeModelCommodity *model, gnc_commodity_namespace *name_space, GtkTreeIter *iter) |
|
gboolean | gnc_tree_model_commodity_get_iter_from_commodity (GncTreeModelCommodity *model, gnc_commodity *commodity, GtkTreeIter *iter) |
|
GtkTreePath * | gnc_tree_model_commodity_get_path_from_commodity (GncTreeModelCommodity *model, gnc_commodity *commodity) |
|