Re: show the bottom of a table in a scrollable window



Christian Neumair schrieb:

Jane Bryan-Jones schrieb:

if the user adds a line I want to automatically show the last line (the one he’s just added)


http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeView.html#gtk-tree-view-set-cursor



If you're not using a tree view inside the scrolled window, but just want the scrolled window to show the bottom of its contents, use

http://developer.gnome.org/doc/API/2.0/gtk/GtkScrolledWindow.html#gtk-scrolled-window-get-vadjustment
http://developer.gnome.org/doc/API/2.0/gtk/GtkAdjustment.html#gtk-adjustment-set-value



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]