GnuCash 2.4.99
Data Structures | Defines | Functions
gnc-tree-view-commodity.h File Reference

GtkTreeView implementation for gnucash commodity tree. More...

#include <gtk/gtk.h>
#include "gnc-tree-view.h"
#include "gnc-commodity.h"
#include "gnc-ui-util.h"

Go to the source code of this file.

Data Structures

struct  GncTreeViewCommodity
struct  GncTreeViewCommodityClass

Defines

#define GNC_TYPE_TREE_VIEW_COMMODITY   (gnc_tree_view_commodity_get_type ())
#define GNC_TREE_VIEW_COMMODITY(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_TREE_VIEW_COMMODITY, GncTreeViewCommodity))
#define GNC_TREE_VIEW_COMMODITY_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_TREE_VIEW_COMMODITY, GncTreeViewCommodityClass))
#define GNC_IS_TREE_VIEW_COMMODITY(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_TREE_VIEW_COMMODITY))
#define GNC_IS_TREE_VIEW_COMMODITY_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_TREE_VIEW_COMMODITY))
#define GNC_TREE_VIEW_COMMODITY_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_TREE_VIEW_COMMODITY, GncTreeViewCommodityClass))

Functions

GType gnc_tree_view_commodity_get_type (void)
Commodity Tree View Constructors
GtkTreeView * gnc_tree_view_commodity_new (QofBook *book, const gchar *first_property_name,...)
Commodity Tree View Configuration
void gnc_tree_view_commodity_configure_columns (GncTreeViewCommodity *view, GSList *column_names)
Commodity Tree View Get/Set Functions
gnc_commoditygnc_tree_view_commodity_get_cursor_commodity (GncTreeViewCommodity *view)
gnc_commoditygnc_tree_view_commodity_get_selected_commodity (GncTreeViewCommodity *view)
void gnc_tree_view_commodity_select_subcommodities (GncTreeViewCommodity *view, gnc_commodity *commodity)

Commodity Tree View Filtering

typedef gboolean(* gnc_tree_view_commodity_ns_filter_func )(gnc_commodity_namespace *, gpointer data)
typedef gboolean(* gnc_tree_view_commodity_cm_filter_func )(gnc_commodity *, gpointer data)
void gnc_tree_view_commodity_set_filter (GncTreeViewCommodity *view, gnc_tree_view_commodity_ns_filter_func ns_func, gnc_tree_view_commodity_cm_filter_func cm_func, gpointer data, GtkDestroyNotify destroy)
void gnc_tree_view_commodity_refilter (GncTreeViewCommodity *view)

Detailed Description

GtkTreeView implementation for gnucash commodity tree.

Author:
David Hampton <hampton@employees.org>

Definition in file gnc-tree-view-commodity.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines