Brilliant! That works perfectly. I might look into having a slight change in color when entering Edit Mode. Would be great for navigating subpatch windows and knowing which ones are locked or not. No experience with tcl commands here.
Sam > ------------------------------ > > Message: 2 > Date: Fri, 4 Mar 2022 09:08:11 +0100 > From: IOhannes m zmoelnig <[email protected]> > To: [email protected] > Subject: Re: [PD] plugin.tcl not changing anything, linux > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > > On 3/4/22 04:31, Samuel Burt wrote: > > IOhannes and James. Thanks for the replies. > > > > I found the relevant line in pdtk_canvas.tcl. I know modifying that isn't > > permanent, because the next update might break it, but it did let me > > replace -background white with -background gray95, which is cool. Now, > I'll > > just have to figure out if it's possible to reuse this command in a tcl > > plugin file. > > > like this "mybackground-plugin.tcl"? > > ``` > bind PatchWindow <Configure> "+%W.c configure -background yellow" > ``` > > this adds a hook, so that whenever a PatchWindow is updated (that is: > created, or moved around,...), it will re-configure the background > property to your liking. > > gfmdsr > IOhannes > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: OpenPGP_signature > Type: application/pgp-signature > Size: 840 bytes > Desc: OpenPGP digital signature > URL: < > http://lists.puredata.info/pipermail/pd-list/attachments/20220304/bbd51939/attachment.sig > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Pd-list mailing list > [email protected] > to manage your subscription (including un-subscription) see > https://lists.puredata.info/listinfo/pd-list > > > ------------------------------ > > End of Pd-list Digest, Vol 204, Issue 6 > *************************************** >
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
