diff options
author | Jonathan Blandford <jrb@redhat.com> | 2000-10-30 23:21:38 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2000-10-30 23:21:38 +0000 |
commit | c42cee3e7f635cd027ff4ccb548d430b079585e4 (patch) | |
tree | 283f5f17815fbba5f98e862783a64ab6f2755570 /gtk/gtktreeview.h | |
parent | 72284e347d2269bb0b3f577a589942cca301a1aa (diff) | |
download | gtk+-c42cee3e7f635cd027ff4ccb548d430b079585e4.tar.gz |
New function.
Mon Oct 30 19:23:50 2000 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_expand_row): New function.
* gtk/gtktreeview.c (gtk_tree_view_collapse_row): New function.
* gtk/gtktreeview.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c
gtk/gtktreestore.h, gtk/gtktreeview.h, gtk/gtktreeviewcolumn.c,
gtk/gtktreeviewcolumn.h: Fixed inline docs.
* docs/reference/gtk/tree_widget.sgml: Proto intro to the tree
widget. Needs writing someday.
* docs/reference/gtk/tmpl/gtktree*sgml: Added the tree widget to
the docs.
Diffstat (limited to 'gtk/gtktreeview.h')
-rw-r--r-- | gtk/gtktreeview.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gtk/gtktreeview.h b/gtk/gtktreeview.h index 5c9b6d0f15..efa04884bf 100644 --- a/gtk/gtktreeview.h +++ b/gtk/gtktreeview.h @@ -65,13 +65,13 @@ GtkWidget *gtk_tree_view_new_with_model (GtkTreeModel *mo GtkTreeModel *gtk_tree_view_get_model (GtkTreeView *tree_view); void gtk_tree_view_set_model (GtkTreeView *tree_view, - GtkTreeModel *tree_model); + GtkTreeModel *model); GtkTreeSelection *gtk_tree_view_get_selection (GtkTreeView *tree_view); -GtkAdjustment *gtk_tree_view_get_hadjustment (GtkTreeView *layout); -void gtk_tree_view_set_hadjustment (GtkTreeView *layout, +GtkAdjustment *gtk_tree_view_get_hadjustment (GtkTreeView *tree_view); +void gtk_tree_view_set_hadjustment (GtkTreeView *tree_view, GtkAdjustment *adjustment); -GtkAdjustment *gtk_tree_view_get_vadjustment (GtkTreeView *layout); -void gtk_tree_view_set_vadjustment (GtkTreeView *layout, +GtkAdjustment *gtk_tree_view_get_vadjustment (GtkTreeView *tree_view); +void gtk_tree_view_set_vadjustment (GtkTreeView *tree_view, GtkAdjustment *adjustment); gboolean gtk_tree_view_get_headers_visible (GtkTreeView *tree_view); void gtk_tree_view_set_headers_visible (GtkTreeView *tree_view, @@ -103,6 +103,11 @@ gboolean gtk_tree_view_get_path_at_pos (GtkTreeView *tr GtkTreeViewColumn **column); void gtk_tree_view_expand_all (GtkTreeView *tree_view); void gtk_tree_view_collapse_all (GtkTreeView *tree_view); +gboolean gtk_tree_view_expand_row (GtkTreeView *tree_view, + GtkTreePath *path, + gboolean open_all); +gboolean gtk_tree_view_collapse_row (GtkTreeView *tree_view, + GtkTreePath *path); #ifdef __cplusplus |