[Q] doubleclickable and dragable morph: how?

Ned Konz ned at bike-nomad.com
Wed Apr 30 18:42:18 UTC 2003


On Wednesday 30 April 2003 11:05 am, Rudi Angela wrote:

> I have a Morph subclass, which is dragable by default. Now I would
> also like to make it doubleclickable. But if I start adding the
> methods #handlesMouseDown, etc, then apparently I loose the
> dragability. Am I doing something wrong? Or does Morphic not
> support this combination of behaviors?

Look at DoubleClickExample for instance. You have to ask the Hand to 
#waitForClicksOrDrag:event:

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list