[FIX] Genie event handling

Nathanael Schärli n.schaerli at gmx.net
Thu Apr 10 08:50:32 UTC 2003


Hi all

After some heavy debugging, I finally fixed some annoying Genie
event-handling bugs. It makes a really big difference for the usability
of Genie, especially when Genie is used for more than just text-input.

Besides others, the attached changeset...

- Fixes bugs in menu handling
- Fixes bugs in FillInTheBlankMorph handling
- Captures points more accuratly
- Fixes bugs in emulating clicks and double-clicks

This makes Genie much (!) more usable because for every Morph that uses
Genie event-handling, it is now also possible to get the traditional
mouse behavior:

- Click: Simply click (e.g., on a button or a place in a text) and Genie
accuratly simulates the traditional click behavior. This is very useful
because it allows to use Genie event-handling even for buttons.

- Double-Click: Simply double-click (e.g., on an item in the inspector
or on a word in a text) and Genie accuratly simulates the traditional
double-click behavior.

- Drag: Hold down the mouse button without moving until Genie escapes.
Then, drag the mouse and Genie simulates the traditional dragging
behavior. (As an example, this can be used to select text). Note that
the escape time can be freely adjusted for every gesture dictionary.

Cheers,
Nathanael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GenieEventHandlingFix.3.cs
Type: application/octet-stream
Size: 13982 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030410/64dbf50c/GenieEventHandlingFix.3.obj


More information about the Squeak-dev mailing list