Re: [gtkmm] ScrolledWindow scrolling strategy: follow child widget focus automagically



Hi!

Just use :

set_policy(Gtk::POLICY_AUTOMATIC,Gtk::POLICY_AUTOMATIC)

grtz,

Bart

On Tue, 2003-11-11 at 18:46, David Kinyanjui wrote:
> I'm still seeking for someone to help me with an example on how to 
> implement an automatic scrolling on a scrolledwindow
> or better yet, how to implement either of the two (I understand thats 
> what they are supposed to do) lines below:-
> 1. void   gtk_container_set_focus_vadjustment (GtkContainer  
> *container,  GtkAdjustment   *adjustment);
> 2. void   gtk_container_set_focus_hadjustment (GtkContainer  *container, 
> GtkAdjustment   *adjustment);
> 
> In fact, what I'm really looking for is a Scroll Policy that makes the 
> adjustments happen
> automagically!
> 
> Any help is highly appreciated
> 
> Kinyanjui
> 
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list




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