summaryrefslogtreecommitdiff
path: root/gtk/gtktreestore.h
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2006-01-15 20:12:49 +0000
committerKristian Rietveld <kristian@src.gnome.org>2006-01-15 20:12:49 +0000
commitcb3824225bd3a53fb663a45870d52bc88ea40e41 (patch)
treecdb4eec5c30b3b34929b8a7212702f2c7b4fc408 /gtk/gtktreestore.h
parentea6731b779b26d44be5f0582f8eed09d136fe376 (diff)
downloadgtk+-cb3824225bd3a53fb663a45870d52bc88ea40e41.tar.gz
Fixes #324099, Tommi Komulainen.
2006-01-15 Kristian Rietveld <kris@gtk.org> Fixes #324099, Tommi Komulainen. * gtk/gtktreestore.[ch] (gtk_tree_store_insert_with_values), (gtk_tree_store_insert_with_valuesv): new functions, analog to those found in GtkListStore. * gtk/gtktreestore.c (gtk_tree_store_real_set_value), (gtk_tree_store_set_valist), (gtk_tree_store_set_valist_internal), (gtk_tree_store_sort_iter_changed): refactored. * gtk/gtk.symbols: updated. * tests/treestoretest.c: added a test for this new functionality.
Diffstat (limited to 'gtk/gtktreestore.h')
-rw-r--r--gtk/gtktreestore.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/gtktreestore.h b/gtk/gtktreestore.h
index 58e018b74b..59d8e77741 100644
--- a/gtk/gtktreestore.h
+++ b/gtk/gtktreestore.h
@@ -103,6 +103,18 @@ void gtk_tree_store_insert_after (GtkTreeStore *tree_store,
GtkTreeIter *iter,
GtkTreeIter *parent,
GtkTreeIter *sibling);
+void gtk_tree_store_insert_with_values (GtkTreeStore *tree_store,
+ GtkTreeIter *iter,
+ GtkTreeIter *parent,
+ gint position,
+ ...);
+void gtk_tree_store_insert_with_valuesv (GtkTreeStore *tree_store,
+ GtkTreeIter *iter,
+ GtkTreeIter *parent,
+ gint position,
+ gint *columns,
+ GValue *values,
+ gint n_values);
void gtk_tree_store_prepend (GtkTreeStore *tree_store,
GtkTreeIter *iter,
GtkTreeIter *parent);