Re: Help with ScrollWindow + TreeView
- From: "Paul Davis" <pjdavis engineering uiowa edu>
- To: "Daniel Tiziani" <dtiziani gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Help with ScrollWindow + TreeView
- Date: Mon, 27 Aug 2007 20:41:12 -0400
I think you're looking for this function:
After you select the row in your code, you can call scroll_to_row on
your TreeView and it should scroll the containing window so the row is
visible. There's an overload so you can position the row in the window
On 8/27/07, Daniel Tiziani <dtiziani gmail com> wrote:
> Hi there, I'm desperate for help, tried finding in google, but couldn't find
> any solutions.
> I have a scrollwindow with a treeview inside. If I focus a row trough the
> keyboard, the scrollwindow scrolls nicely. But if I select the row by code
> (TreeSelection -> select(row)) the scrollwindow doesn't update it's
> vscrollbar in order to reflect the position in treeview.
> Anyone got a solution for that? I'm starting with gtkmm, and I think may be
> something with connect, signals, but couldn't find an example to solve my
> Thanks in advance.
> gtkmm-list mailing list
> gtkmm-list gnome org
] [Thread Prev