[Gtk-sharp-list] howto scroll scrolled window when treeviewrow
is not seen
Xavier de Blas
xaviblas at cvs.gnome.org
Mon Jan 9 10:03:43 EST 2006
It works!, thanks
On dg, 2006-01-08 at 21:18 +0100, Fredrik Nilsson wrote:
> Hi,
>
> I just implemented this in a program I work on for the moment:
>
> TreeIter iter = store.AppendValues (new_id, "", String.Format
> ("{0:N2}", 0), String.Format ("{0:N2}", 0), "");
> TreePath path = store.GetPath (iter);
> enhetspriser_treeview.ScrollToCell (path, null, true, 0, 0);
>
> the code is cut'n'pasted right from my program, so you have to change it
> to fit your need!
>
> /Fredrik
>
> Xavier de Blas wrote:
> > Hello, i have a treeview inside a scrolledwindow both created in glade.
> > How do i automatically scroll the scrolled window when a new row is
> > added in the treeview and is not seen without manual scrolling?
> >
> > It's for improving Chronojump usability. ah! Chronojump 0.43 was
> > released yesterday!
> > http://www.gnome.org/projects/chronojump
> >
> > Sorry for my english, thanks
> >
> > _______________________________________________
> > Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> >
> >
> >
>
More information about the Gtk-sharp-list
mailing list