Re: Help with ScrollWindow + TreeView
- From: "Daniel Tiziani" <dtiziani gmail com>
- To: "Paul Davis" <pjdavis engineering uiowa edu>
- Cc: gtkmm-list gnome org
- Subject: Re: Help with ScrollWindow + TreeView
- Date: Mon, 27 Aug 2007 21:59:35 -0300
Thank you very much! I would never find such thing.
I'm too used to work with java, .net, and know almost nothing about gtk, the documentation is not the best and the use of widgets is not the easiest.
Again, thank you very much Paul!
On 8/27/07, Paul Davis <pjdavis engineering uiowa edu> wrote:
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