<div dir="ltr"><div dir="ltr">Em qui., 28 de nov. de 2019 às 04:45, IOhannes m zmölnig <<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>> escreveu:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
what do you want to do in the first place?<br></blockquote><div><br></div><div>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.</div><div><br></div><div>So, how can a slider know what mode PD is in?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
whenever the user creates an object, pd will switch to edit mode...</blockquote><div><br></div><div>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. </div><div><br></div><div>cheers</div></div></div>