<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:large">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.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">Sam</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large"><br></div></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"><br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 4 Mar 2022 09:08:11 +0100<br>
From: IOhannes m zmoelnig <<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>><br>
To: <a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a><br>
Subject: Re: [PD] plugin.tcl not changing anything, linux<br>
Message-ID: <<a href="mailto:45bec37a-eccb-402d-d7bb-f02b419921c9@iem.at" target="_blank">45bec37a-eccb-402d-d7bb-f02b419921c9@iem.at</a>><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
<br>
On 3/4/22 04:31, Samuel Burt wrote:<br>
> IOhannes and James. Thanks for the replies.<br>
> <br>
> I found the relevant line in pdtk_canvas.tcl. I know modifying that isn't<br>
> permanent, because the next update might break it, but it did let me<br>
> replace -background white with -background gray95, which is cool. Now, I'll<br>
> just have to figure out if it's possible to reuse this command in a tcl<br>
> plugin file.<br>
<br>
<br>
like this "mybackground-plugin.tcl"?<br>
<br>
```<br>
<span class="gmail_default" style="font-size:large"></span>bind PatchWindow <Configure> "+%W.c configure -background yellow"<br>
```<br>
<br>
this adds a hook, so that whenever a PatchWindow is updated (that is: <br>
created, or moved around,...), it will re-configure the background <br>
property to your liking.<br>
<br>
gfmdsr<br>
IOhannes<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: OpenPGP_signature<br>
Type: application/pgp-signature<br>
Size: 840 bytes<br>
Desc: OpenPGP digital signature<br>
URL: <<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20220304/bbd51939/attachment.sig" rel="noreferrer" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20220304/bbd51939/attachment.sig</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Pd-list mailing list<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a><br>
to manage your subscription (including un-subscription) see<br>
<a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Pd-list Digest, Vol 204, Issue 6<br>
***************************************<br>
</blockquote></div></div>