How does double clicking work in Squeak?

Norton, Chris chrisn at Kronos.com
Thu Sep 23 15:26:51 UTC 1999


Hi Lex & co.

Before I reply to this note, please allow me to ask again if anyone knows
anything about double clicking in Squeak.  I'm still interested in working
with this functionality and I haven't made any progress on it yet...  A code
snippet would be GREATLY appreciated!  Thanks!!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lex Spoon [lex at cc.gatech.edu] wrote:

I don't think there's really any concept of a double click in Squeak. 
And actually, I kind of enjoy it.  Everything you can do, is just one
click away.

One alternative to the interface you suggest, would be to have the
middle button open a new inspector, just as in Netscape.

An even better alternative, would be to try out the object explorer
instead of using the inspector.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Well, there is code for double clicking (e.g. Morph>>doubleClick: and
HandleMorph class>>doubleClickTime, etc.); I just haven't figured out how to
trap these messages in a morph.  I am very interested in this behavior, as I
see many uses for it.  Consider the PDA versions of Squeak.  There is no
mouse, only a pointing device.  In this case, a double click may help to
double functionality <grin>.  I think that might be a useful subject to
pursue (even though I don't own a PDA yet).

As for using the middle mouse button...  Well, yes I could use this button,
but I don't use a 3 button mouse and I am more interested in double
clicking.  I think these two mouse behaviors are semantically different
anyway.  Double click (to me) means:  I'm in a hurry!  Do some action
without making me search for the "other way" to do this thing!

And finally, let me point out that I really like Bob's ObjectExplorer, but
this is not the tool I use the most.  To me, the beauty of your basic
inspector is in part due to familiarity and in part to the fact that you can
execute code on the object you're inspecting.  I do not believe that the
ObjectExplorer has this functionality, but I could be mistaken.

Anyway, thanks for responding!  I was beginning to feel a bit unwanted...
:-)

---==> Chris





More information about the Squeak-dev mailing list