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

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to