[Cuis-dev] Dragging a morph in its owner?

Hilaire Fernandes hfern at free.fr
Sun Sep 7 05:13:08 PDT 2025


Hi,

When manipulating morph with the mouse, at user click on a morph, it is 
attached to the hand (grabbed). When the mouse button is released, the 
morph is dropped from the hand to the underneath morph (which may accept 
it or not).

I am looking for a slightly different behavior, instead of grabbing by 
the hand->moving->dropping from the hand (with the change of owner), I 
want dragging the morph within its owner, the morph owner does not 
change. Therefore the morph will never move out of its owner, being 
dragged over other morph.

Is it possible to do so without adding a specific behavior to the morph, 
but instead adapt the owner morph?

hilaire


-- 
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250907/de35e700/attachment.htm>


More information about the Cuis-dev mailing list