TransformMorph question
Romain Robbes
rrobbes at info.unicaen.fr
Mon Feb 16 12:18:56 UTC 2004
Hi all,
I have a SystemWindow inside a TransformMorph displayed on screen.
I'd like the TransformationMorph to receive mouseClicks, and not the
SystemWindow.
Is there a simple way of doing that ?
The code I have come up so far is:
mo := SystemWindow new.
m := (TransformationMorph new) addMorph: mo; scale: 0.7; smoothingOn;
yourself.
m position: 100 at 100.
m on: #mouseDown send: #value to: [m inform: 'event intercepted'.]
m openInWorld
So I'd like the popup to be displayed when I click everywhere in the
window.
Thanks in advance,
Romain Robbes
More information about the Squeak-dev
mailing list
|