diff options
author | Kristian Rietveld <kris@gtk.org> | 2002-07-26 20:51:13 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2002-07-26 20:51:13 +0000 |
commit | 6c3caf2a9c6bbc07289941355fabfc61bc805601 (patch) | |
tree | d2c544a88bd4f70a6480a7010cf1a37f0a852f3f /gtk/gtktreemodel.h | |
parent | c8e242f14bbba315b4389df8bfffdb7a91b8c2b5 (diff) | |
download | gtk+-6c3caf2a9c6bbc07289941355fabfc61bc805601.tar.gz |
API additions: _move, _reorder and _swap for stores, path constructor.
Fri Jul 26 22:53:37 2002 Kristian Rietveld <kris@gtk.org>
API additions: _move, _reorder and _swap for stores, path
constructor.
* gtk/gtktreemodel.[ch] (gtk_tree_path_new_from_indices): new function.
* gtk/gtkliststore.[ch]: added gtk_list_store_reorder_func (private),
gtk_list_store_reorder, gtk_list_store_swap, gtk_list_store_move.
* gtk/gtktreestore.[ch]: added gtk_tree_store_reorder_func (private),
gtk_tree_store_reorder, gtk_tree_store_swap, gtk_tree_store_move.
Fri Jul 26 22:32:57 2002 Kristian Rietveld <kris@gtk.org>
Merge from stable:
* gtk/gtktreestore.c (node_free): return FALSE,
(gtk_tree_store_finalize): use g_node_traverse instead of
g_node_children_foreach, so the whole tree will be freed (#88854,
patch from Emmanuel Briot).
Fri Jul 26 22:32:24 2002 Kristian Rietveld <kris@gtk.org>
Merge from stable:
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix some memleaks,
(#84426, patch from Matthias Clasen).
Fri Jul 26 22:31:25 2002 Kristian Rietveld <kris@gtk.org>
Merge from stable:
* gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): _iter_children
check shouldn't be in g_return_return_val_if_fail (pointed out by
Josh Green, #88997),
(gtk_tree_view_set_model): call _gtk_tree_view_column_unset_model
for each column when we unset the model (part of #82484),
(gtk_tree_view_get_cell_area): return if we ran out of tree or
if we got an invalid path (#82376).
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_unset_model.
* gtk/gtktreeviewcolumn.c: implement _gtk_tree_view_column_unset_model
which disconnects the sort_column_changed_signal (part of #82484).
* gtk/gtkliststore.c (gtk_list_store_insert): append row if the
given postion is off the end of the tree (#85813).
* gtk/gtkentry.c (gtk_cell_editable_key_press_event): let's use
2-space indent, commit changes if up/down keys has been pressed,
this overrides the focus key foo so the user won't be surprised
(#84665).
Diffstat (limited to 'gtk/gtktreemodel.h')
-rw-r--r-- | gtk/gtktreemodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index a3f5e93cf9..4118f48260 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -116,6 +116,8 @@ struct _GtkTreeModelIface /* GtkTreePath operations */ GtkTreePath *gtk_tree_path_new (void); GtkTreePath *gtk_tree_path_new_from_string (const gchar *path); +GtkTreePath *gtk_tree_path_new_from_indices (gint first_index, + ...); gchar *gtk_tree_path_to_string (GtkTreePath *path); #define gtk_tree_path_new_root() gtk_tree_path_new_first() GtkTreePath *gtk_tree_path_new_first (void); |