Re: How to scroll in a ScrolledWindow without clicking on Scrollbar



 --- muppet <scott asofyet org> a écrit : 

On Jan 16, 2005, at 5:55 PM, Thebert Sebastien
wrote:

I would like to make an application where a group
of buttons scolls to 
the next one when I reach the last visible button
in the Scrolled 
Window.
 >
I thought it was easy to do that but I didn't find
any explanation or 
sample on how to do that...

The scrolled window uses two Gtk2::Adjustments
(vadjument and 
hadjustment) for its scrollbars.  Just grab the
relevant adjustment, 
give it a new value, and the window will scroll
accordingly.

The problem is that I only use Keyboard to navigate
between my buttons, and It doesn't seem to raise any
events when I go to the next button (no 'enter' or
'leave' events is raised...)

Any idea ?


Sebastien.

=====
-- 
Sebastien Thebert
08 71 76 47 10
06 07 34 41 35


        

        
                
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/



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