GnuCash 2.4.99
Data Structures | Defines | Enumerations | Functions
gnc-tree-model-account-types.h File Reference

GtkTreeModel implementation to display account types in a GtkTreeView. More...

#include "Account.h"

Go to the source code of this file.

Data Structures

struct  GncTreeModelAccountTypes
struct  GncTreeModelAccountTypesClass

Defines

#define GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES   (gnc_tree_model_account_types_get_type ())
#define GNC_TREE_MODEL_ACCOUNT_TYPES(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES, GncTreeModelAccountTypes))
#define GNC_TREE_MODEL_ACCOUNT_TYPES_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST ((k), GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES, GncTreeModelAccountTypesClass))
#define GNC_IS_TREE_MODEL_ACCOUNT_TYPES(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES))
#define GNC_IS_TREE_MODEL_ACCOUNT_TYPES_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES))
#define GNC_TREE_MODEL_ACCOUNT_TYPES_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_TREE_MODEL_ACCOUNT_TYPES, GncTreeModelAccountTypesClass))

Enumerations

enum  GncTreeModelAccountTypesColumn { GNC_TREE_MODEL_ACCOUNT_TYPES_COL_TYPE, GNC_TREE_MODEL_ACCOUNT_TYPES_COL_NAME, GNC_TREE_MODEL_ACCOUNT_TYPES_COL_SELECTED, GNC_TREE_MODEL_ACCOUNT_TYPES_NUM_COLUMNS }

Functions

GType gnc_tree_model_account_types_get_type (void)
GtkTreeModel * gnc_tree_model_account_types_filter_using_mask (guint32 types)
void gnc_tree_model_account_types_set_mask (GtkTreeModel *f_model, guint32 types)
guint32 gnc_tree_model_account_types_get_mask (GtkTreeModel *f_model)
guint32 gnc_tree_model_account_types_get_selection (GtkTreeSelection *sel)
GNCAccountType gnc_tree_model_account_types_get_selection_single (GtkTreeSelection *sel)
void gnc_tree_model_account_types_set_selection (GtkTreeSelection *sel, guint32 selected)
GtkTreeModel * gnc_tree_model_account_types_new (guint32 selected)

Detailed Description

GtkTreeModel implementation to display account types in a GtkTreeView.

Author:
Copyright (C) 2003 Jan Arne Petersen
: Jan Arne Petersen <jpetersen@uni-bonn.de>

Definition in file gnc-tree-model-account-types.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines