[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: GtkTreeView Expand All
- From: Kristian Rietveld <kris imendio com>
- To: Eric Pastoor <epastoor vt edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView Expand All
- Date: Mon, 5 May 2008 10:31:01 +0200
Hi,
On Wed, Apr 30, 2008 at 08:35:42AM -0700, Eric Pastoor wrote:
> I am trying to figure how to recursively expand all from the current
> selection in a gtk tree.
>
> I know the function gtk_tree_view_expand_all(GtkTreeView*) will expand the
> entire tree. However, I have set up a right click menu with an option that I
> would like to expand everything from the current position(not the whole
> tree).
The easiest way to accomplish this is to use gtk_tree_view_expand_row()
and set the open_all parameter to TRUE. See the API documentation for
more details.
regards,
-kris.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]