upper one (with the height of a slider), created after all other elements, the lower one created before. if you move the sliders around, be sure not to put your selector or anything on the top canvas, for the elements beneath it still receive mouse actions. (see an
apropos: is there any way to change the behaviour of stacked gui elements? i mean if i cascade 2 big toggles, and click on an overlapping area, the lower toggle will get the click. not the behavior one would expect...
that is the correct behavior. pd-gui does not use Tk's input per-element/widget event bindings or its z-index raise/lower features, it has roughshod approximations of some of these features implemented in C in the DSP thread - if youd like these, i'd suggest try desiredata, which has brought most of this calculation over to the GUI side of the program which solves the above problems ands make further GUI hacking much easier...:
cvs -d :pserver:anonymous@cvs.sf.net:/cvsroot/pure-data co -r devel_0_39 pd cd pd && scons desire=1 cd src && wish desire.tk
good luck and happy hacking!
mfg charlie