[gtkmm] Re: scrolledwindow auto scroll!



On Wed, 2003-11-05 at 12:46, David Kinyanjui wrote:
> I am using a scrolledWindow and want to know how to
> automatically make the scrollbars especially the
> vertical one, position itself such that the last widget
> set active or which is currently focused is
> always visible at the bottom of the scrolled window.
> 
> Any help, Ideas, examples are all appreciated.

http://developer.gnome.org/doc/API/2.0/gtk/GtkContainer.html#gtk-container-set-focus-hadjustment
http://developer.gnome.org/doc/API/2.0/gtk/GtkContainer.html#gtk-container-set-focus-vadjustment

I think there is an example in the testgtk sources.

Regards,
						Owen





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