diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-02-17 00:16:08 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-02-17 00:16:08 +0000 |
commit | b10825d537175d0f0c20deb07422a63f19856a66 (patch) | |
tree | 2cb57d478929705918abc8618228aa47ffa21b45 /gtk/gtktreemodel.h | |
parent | 08add3cd503b3b891a0028b9b5400e271439c89f (diff) | |
download | gtk+-b10825d537175d0f0c20deb07422a63f19856a66.tar.gz |
removed gtk_*_store_get, and moved to GtkTreeModel.
Fri Feb 16 17:49:59 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.[hc], gtk/gtkliststore.[ch]: removed
gtk_*_store_get, and moved to GtkTreeModel.
* gtk/gtktreemodel.h (gtk_tree_model_set{v,}): Added
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_finalize): added.
* gtk/Makefile.am: remove gtktreemodelmapping.[ch]
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_func): let you
set the func.
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data):
freeze/thaw notify between setting all the properties for a cell.
* gtk/gtk.h: remove gtktreemodelsimple.h, and gtktreemodelmapping.h
Diffstat (limited to 'gtk/gtktreemodel.h')
-rw-r--r-- | gtk/gtktreemodel.h | 71 |
1 files changed, 40 insertions, 31 deletions
diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index 3ede12308b..f84b19ff32 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -165,37 +165,46 @@ GType gtk_tree_model_get_column_type (GtkTreeModel *tree_model, /* Iterator movement */ -gboolean gtk_tree_model_get_iter (GtkTreeModel *tree_model, - GtkTreeIter *iter, - GtkTreePath *path); -gboolean gtk_tree_model_get_first (GtkTreeModel *tree_model, - GtkTreeIter *iter); -GtkTreePath *gtk_tree_model_get_path (GtkTreeModel *tree_model, - GtkTreeIter *iter); -void gtk_tree_model_get_value (GtkTreeModel *tree_model, - GtkTreeIter *iter, - gint column, - GValue *value); -gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model, - GtkTreeIter *iter); -gboolean gtk_tree_model_iter_children (GtkTreeModel *tree_model, - GtkTreeIter *iter, - GtkTreeIter *parent); -gboolean gtk_tree_model_iter_has_child (GtkTreeModel *tree_model, - GtkTreeIter *iter); -gint gtk_tree_model_iter_n_children (GtkTreeModel *tree_model, - GtkTreeIter *iter); -gboolean gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model, - GtkTreeIter *iter, - GtkTreeIter *parent, - gint n); -gboolean gtk_tree_model_iter_parent (GtkTreeModel *tree_model, - GtkTreeIter *iter, - GtkTreeIter *child); -void gtk_tree_model_ref_iter (GtkTreeModel *tree_model, - GtkTreeIter *iter); -void gtk_tree_model_unref_iter (GtkTreeModel *tree_model, - GtkTreeIter *iter); +gboolean gtk_tree_model_get_iter (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreePath *path); +gboolean gtk_tree_model_get_first (GtkTreeModel *tree_model, + GtkTreeIter *iter); +GtkTreePath *gtk_tree_model_get_path (GtkTreeModel *tree_model, + GtkTreeIter *iter); +void gtk_tree_model_get_value (GtkTreeModel *tree_model, + GtkTreeIter *iter, + gint column, + GValue *value); +gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model, + GtkTreeIter *iter); +gboolean gtk_tree_model_iter_children (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreeIter *parent); +gboolean gtk_tree_model_iter_has_child (GtkTreeModel *tree_model, + GtkTreeIter *iter); +gint gtk_tree_model_iter_n_children (GtkTreeModel *tree_model, + GtkTreeIter *iter); +gboolean gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreeIter *parent, + gint n); +gboolean gtk_tree_model_iter_parent (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreeIter *child); +void gtk_tree_model_ref_iter (GtkTreeModel *tree_model, + GtkTreeIter *iter); +void gtk_tree_model_unref_iter (GtkTreeModel *tree_model, + GtkTreeIter *iter); + +void gtk_tree_model_get (GtkTreeModel *tree_model, + GtkTreeIter *iter, + ...); +void gtk_tree_model_get_valist (GtkTreeModel *tree_model, + GtkTreeIter *iter, + va_list var_args); + + #ifdef __cplusplus } |