[Pharo-dev] how to completely ignore mouse wheel events?

Alexandre Bergel alexandre.bergel at me.com
Thu Apr 17 11:02:26 EDT 2014


I have modified the following methods
	HandMorph>>generateKeyboardEvent: evtBuf 
	ScrollPane>>scrollByKeyboard: event 

The effect is now milder. 

Esteban, would it make sense to remove the event generation bu the VM? This works only for the old-style mouse with an actual wheel. Mighty mouse does not work at all with Pharo.

We have to get this right. Emulation of events is a bad idea.

Alexandre


-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Apr 15, 2014, at 10:36 AM, Alexandre Bergel <alexandre.bergel at me.com> wrote:

> Hi!
> 
> Mouse wheel events are so poorly handled in Pharo, that they are not useful. 
> With Ronie we are seeing how we can better handle events with a window generated with SDL. But this is for the future.
> 
> Is there a way to easily unable them?
> 
> Cheers,
> Alexandre
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 
> 
> 
> 





More information about the Pharo-dev mailing list