[PD] Knowing if Pd is in Edit mode when instantiating an object (was Query if Pd is in Edit mode for a GUI)

Alexandre Torres Porres porres at gmail.com
Fri Dec 6 09:16:19 CET 2019


answer: just ask for "canvas"->gl_edit

Em qui., 28 de nov. de 2019 às 11:09, oliver <oliver at klingt.org> escreveu:

> IOhannes m zmölnig wrote:
> > Am 28. November 2019 14:18:22 MEZ schrieb Alexandre Torres Porres <
> porres at gmail.com>:
> >>
> >> Sure, but there are other ways to instantiate an object, like when
> >> opening
> >> a patch or with dynamic patching, where PD won't switch to edit mode.
> >>
> >
> > but with dynamic patching
> > - you are breaking a lot of interaction expectations
> > - you can control the edit-mode state at your will
> >
>
> i.e. you can "force" edit mode with a "editmode 1" message to the
> corresponding namecanvas, and also disable it with a dedicated message
>
> (see attached examples)
>
> best
>
> oliver
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20191206/d103034d/attachment.html>


More information about the Pd-list mailing list