hi,
it works indeed, and after setting toggle's front-color to white, the cross will be invisible.
There is a peculiar Pd feature exploited here: mouse clicks are handled by the oldest object having a matching rectangle and ``willing to handle a click'' (for example a standard text object box having a "click" method). Since the oldest is the one at the bottom, I think this is not what one would expect, though...
Changing this behaviour is quite simple (see the attachment), but is it desired, if looking at a broader picture? After all, this is yet another order dependence headache...
Krzysztof
btw, having switched to Debian (woody), I found that Pd configure seems to be still not Debian-compatible. Do all Pd/Debian users really start with ln -s /usr/include/tcl8.3/*.h /usr/include? Strange.
sme wrote: ...
you can place them on a toggle with a larger size. the toggle gets a
cross,
when you click on it, but you cannot reach the abstraction, although
it is
above/on top.
--- g_editor.c~ Sun Feb 17 23:11:14 2002 +++ g_editor.c Thu Mar 7 12:23:57 2002 @@ -453,17 +453,23 @@
if (runmode && !rightclick)
{
shiftmod, altmod, 0, doit)))
break;
shiftmod, altmod, 0, 0)))
z = y;
} if (y)
if (z)
gobj_click(z, x, xpos, ypos, shiftmod, altmod, 0, doit);
if (z)
canvas_setcursor(x, clickreturned);
else canvas_setcursor(x, CURSOR_RUNMODE_NOTHING);
}