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 <[EMAIL PROTECTED]> wrote:
>
> Daniel,
>
> I think you're looking for this function:
>
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeView.html#db5a753b9df63646066ff5e3954572c4
>
> 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
> as well.
>
> HTH,
> Paul Davis
>
> On 8/27/07, Daniel Tiziani <[EMAIL PROTECTED]> 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
> > problem.
> >
> > Thanks in advance.
> >
> > Daniel
> >
> > _______________________________________________
> > gtkmm-list mailing list
> > [email protected]
> > http://mail.gnome.org/mailman/listinfo/gtkmm-list
> >
> >
>



-- 
Daniel Tiziani
dtiziani at gmail.com
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to