Re: mouse wheel scroll



On Tue, 17 Jan 2006 22:44:33 -0500, Paul Davis wrote:

> On Tue, 2006-01-17 at 22:05 -0500, Amadeus W. M. wrote:
>> How do I catch a mouse wheel scroll? 
> 
> Gtk::Widget::signal_scroll_event()
> 
> you will need to make sure the widget's event mask is set to include
> Gtk::SCROLL_MASK.
> 
> there are a few complications with some widgets that handle this signal
> "natively".
> 
> --p


Thanks, it works nicely!





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