Hi, today I got back to giving this a chance.

I see tcl/pdtk_canvas.tcl has the proc ::pdtk_canvas::pdtk_canvas_popup function that deals with this. I was able to make an external that switches this on and off, but for all canvases and patches, by overwriting this function, here's the prototype: https://github.com/porres/pd-else/blob/master/classes/lock.c That's a step further, but still far from what I want, which is to switch it on/off in a subpatch or abstraction. But well, can it even be possible to tweak with this without affecting all of Pd?

Any ideas?

thanks 



2018-03-06 18:41 GMT-03:00 Alexandre Torres Porres <porres@gmail.com>:


2018-03-06 16:02 GMT-03:00 Alexandre Torres Porres <porres@gmail.com>:
I have a couple of such examples in my library.

Actually I have much more, dozens of it, as I don't think any non graphical abstraction of mine needs properties! I was just thinking and meant about the graphical ones, which even so don't always need properties... but I forgot to mention about the non graphical ones.

cheers