[squeak-dev] Mouse Wheel Events, "Point and scroll-by-wheel"

Chris Muller asqueaker at gmail.com
Mon Jun 6 16:41:40 UTC 2016


It makes scrolling very choppy.  Instead of scrolling by 3-lines at a
time, it scrolls by about 10...

Shouldn't "Send Mouse Wheel Events to Keyboard Focus" be controlled by
mouseOverForKeyboardFocus?

On Mon, Jun 6, 2016 at 10:50 AM, marcel.taeumel <Marcel.Taeumel at hpi.de> wrote:
> Hi, there.
>
> Here is a change set that adds MouseWheelEvent and everything related to it
> (including EventHandler):
> mouse-wheel-events.cs
> <http://forum.world.st/file/n4899428/mouse-wheel-events.cs>
>
> You have two new preferences (in "Morphic", "keyboard", "mouse" categories):
>
> [x] Synthesize Mouse Wheel Events from Keyboard Events
> [x] Send Mouse Wheel Events to Keyboard Focus
>
> Both are enabled by default.
>
> I refactored the old-style wheel scrolling to use an event filter in
> ScrollPane but this is regarded a fall-back only and can be used for old
> applications.
>
> The mouse wheel event synthesis is implemented as keyboard event capture
> filter in HandMorph itself. See the changeset's postload script or HandMorph
>>> #initForEvents. Once our VMs deliver real mouse wheel events, we can
> change that and adapt HandMorph >> #generateMouseEvent:.
>
> The preferences "Send Mouse Wheel Events to Keyboard Focus" can be used to
> switch between Windows and OS X behavior.
>
> Please, try it out.
>
> Best,
> Marcel
>
>
>
> --
> View this message in context: http://forum.world.st/Mouse-Wheel-Events-Point-and-scroll-by-wheel-tp4899428.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>


More information about the Squeak-dev mailing list