Em qui., 28 de nov. de 2019 às 04:45, IOhannes m zmölnig <zmoel...@iem.at>
escreveu:

> what do you want to do in the first place?
>

It's a GUI abstraction that responds to mouse interaction, so, like a
slider, if it's in edit mode, I don't want it to respond to clicks and
stuff. This abstraction is based on an external that gets mouse
interaction, so it needs to know if PD is in edit mode or not when it is
instantiated.

So, how can a slider know what mode PD is in?


> whenever the user creates an object, pd will switch to edit mode...


Sure, but there are other ways to instantiate an object, like when opening
a patch or with dybanic patching, where PD won't switch to edit mode.

cheers
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to