[Q] moving morphs without the halo
htylim at yahoo.com.ar
Mon Apr 7 13:49:05 UTC 2003
I am not sure I understood you correctly or if I can help you but...
Did you look into these methods:
#waitForClicksOrDrag:event: and #startDrag: ?
For example this is what I am doing in Jacaranda to move my shapes:
anEvent shiftPressed not & anEvent redButtonPressed
ifTrue: [anEvent hand waitForClicksOrDrag: self event: anEvent].
Later one of the following methods will be invoked with the shape as the
In Jacaranda I have the following #startDrag:
anEvent hand grabMorph: self.
> -----Mensaje original-----
> De: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org]En nombre de
> Martin Drautzburg
> Enviado el: Domingo, 06 de Abril de 2003 19:15
> Para: The general-purpose Squeak developers list
> Asunto: [Q] moving morphs without the halo
> I want to move a morph without picking it up. The halo can do this,
> but I want to drag the morph directly.
> I got lost in chess moves and many other "move" methods. Could someone
> help me here ?
More information about the Squeak-dev