diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-11-14 02:06:28 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-11-14 02:06:28 +0000 |
commit | 43d4639743bb280268c4bbdd973cbac6ceab6ce4 (patch) | |
tree | 3cb42b458afcd77fc511a0c934e7557a10ad663d /gtk/gtktreestore.h | |
parent | e9c62bf674d5c5345ee881b66a52a5c26736d8d9 (diff) | |
download | gdk-pixbuf-43d4639743bb280268c4bbdd973cbac6ceab6ce4.tar.gz |
new "model" construct property for language bindings.
Tue Nov 13 21:00:59 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): new
"model" construct property for language bindings.
* gtk/gtktreestore.c (gtk_tree_store_set_column_types): New
function to let you set the column types of a GtkTreeStore for
language bindings.
* gtk/gtkliststore.c (gtk_list_store_set_column_types): ditto.
Diffstat (limited to 'gtk/gtktreestore.h')
-rw-r--r-- | gtk/gtktreestore.h | 87 |
1 files changed, 46 insertions, 41 deletions
diff --git a/gtk/gtktreestore.h b/gtk/gtktreestore.h index 508a4c286..4b517f21e 100644 --- a/gtk/gtktreestore.h +++ b/gtk/gtktreestore.h @@ -53,6 +53,7 @@ struct _GtkTreeStore GtkTreeIterCompareFunc default_sort_func; gpointer default_sort_data; GtkDestroyNotify default_sort_destroy; + guint columns_dirty : 1; }; struct _GtkTreeStoreClass @@ -61,47 +62,51 @@ struct _GtkTreeStoreClass }; -GtkType gtk_tree_store_get_type (void); -GtkTreeStore *gtk_tree_store_new (gint n_columns, - ...); -GtkTreeStore *gtk_tree_store_newv (gint n_columns, - GType *types); -void gtk_tree_store_set_value (GtkTreeStore *tree_store, - GtkTreeIter *iter, - gint column, - GValue *value); -void gtk_tree_store_set (GtkTreeStore *tree_store, - GtkTreeIter *iter, - ...); -void gtk_tree_store_set_valist (GtkTreeStore *tree_store, - GtkTreeIter *iter, - va_list var_args); -void gtk_tree_store_remove (GtkTreeStore *tree_store, - GtkTreeIter *iter); -void gtk_tree_store_insert (GtkTreeStore *tree_store, - GtkTreeIter *iter, - GtkTreeIter *parent, - gint position); -void gtk_tree_store_insert_before (GtkTreeStore *tree_store, - GtkTreeIter *iter, - GtkTreeIter *parent, - GtkTreeIter *sibling); -void gtk_tree_store_insert_after (GtkTreeStore *tree_store, - GtkTreeIter *iter, - GtkTreeIter *parent, - GtkTreeIter *sibling); -void gtk_tree_store_prepend (GtkTreeStore *tree_store, - GtkTreeIter *iter, - GtkTreeIter *parent); -void gtk_tree_store_append (GtkTreeStore *tree_store, - GtkTreeIter *iter, - GtkTreeIter *parent); -gboolean gtk_tree_store_is_ancestor (GtkTreeStore *tree_store, - GtkTreeIter *iter, - GtkTreeIter *descendant); -gint gtk_tree_store_iter_depth (GtkTreeStore *tree_store, - GtkTreeIter *iter); -void gtk_tree_store_clear (GtkTreeStore *tree_store); +GtkType gtk_tree_store_get_type (void); +GtkTreeStore *gtk_tree_store_new (gint n_columns, + ...); +GtkTreeStore *gtk_tree_store_newv (gint n_columns, + GType *types); +void gtk_tree_store_set_column_types (GtkTreeStore *tree_store, + gint n_columns, + GType *types); +void gtk_tree_store_set_value (GtkTreeStore *tree_store, + GtkTreeIter *iter, + gint column, + GValue *value); +void gtk_tree_store_set (GtkTreeStore *tree_store, + GtkTreeIter *iter, + ...); +void gtk_tree_store_set_valist (GtkTreeStore *tree_store, + GtkTreeIter *iter, + va_list var_args); +void gtk_tree_store_remove (GtkTreeStore *tree_store, + GtkTreeIter *iter); +void gtk_tree_store_insert (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent, + gint position); +void gtk_tree_store_insert_before (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent, + GtkTreeIter *sibling); +void gtk_tree_store_insert_after (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent, + GtkTreeIter *sibling); +void gtk_tree_store_prepend (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent); +void gtk_tree_store_append (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent); +gboolean gtk_tree_store_is_ancestor (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *descendant); +gint gtk_tree_store_iter_depth (GtkTreeStore *tree_store, + GtkTreeIter *iter); +void gtk_tree_store_clear (GtkTreeStore *tree_store); + #ifdef __cplusplus } |