Thanks, IOhannes, for the link. It's easy to get lost in old documentation.
Does anyone know if any of the instructions on http://puredata.info/docs/guiplugins are applicable to Pd 0.5+ anymore or should we update the page to show which versions of Pd are capable of using these tcl plugins?
Sam
On 3/3/22 15:59, Samuel Burt wrote:
Hi, list.
In Pop_OS (Debian derivative), I created a file called *canvasgrey-plugin.tcl* and populated it with:
set ::canvas_fill "gray75" set ::text_color "#222"
I've openned Pd, created new windows, saved the preferences, but seen no change in the canvas or text color. Any suggestions?
This page http://puredata.info/docs/guiplugins/GuiPluginsAPI seems
recent
this page refers to pd-extended (long dead), and doesn't apply to pd
(vanilla).
theres currently no way to set the colors in Pd, but there's a [196]
that tries to add this possibility.
gasmr
IOhannes
On 3/3/22 19:57, Samuel Burt wrote:
Thanks, IOhannes, for the link. It's easy to get lost in old documentation.
Does anyone know if any of the instructions on http://puredata.info/docs/guiplugins are applicable to Pd 0.5+ anymore or should we update the page to show which versions of Pd are capable of using these tcl plugins?
most of the information is *probably* still correct. it's just the "global variables for setting colors" section that is explicitely for "Pd-extended 0.41" (as the first line in the paragraph says).
the information that is glaringly incorrect is:
was implemented in a single file "pd-gui.tcl". these days, the GUI is split over a few dozen files in the tcl/ folder.
anyhow: the biggest problem with gui-plugins is, that there is no well-defined public API. we somewhat try to keep things backwards compatible, but the promise is much weaker than on the Pd-core side.
Pd-GUI has never really been "designed"; it just grew, with stuff added as it was convenient, and adjusted to fit newer needs; i do minor refactoring of the code whenever i need to touch it, so it (hopefully) becomes more robust (also from an API perspective); but i'm not really claiming to create a consistent interface.
so your quite on your own when it comes to GUI plugins.
otoh, there have been GUI plugins that were created 10 years ago and (afaik) they still work as expected, to the situation is not really bad.
your best bet for writing your own plugin is probably to just search deken for "*-plugin" to get some examples: http://deken.puredata.info/search.html?libraries=*-plugin
and of course, study the code in Pd's tcl/ folder, to see what is actually there.
gmfdsa IOhannes
If you want color themes in Pd you can use PdNext from Seb: https://github.com/sebshader/pdnext/releases/tag/0.52-1 I am on linux too, manjaro and works quite well!! He now has a theme-picker plugin, it is quite useful too: https://github.com/sebshader/color-themes-plugin
James
On Thu, 3 Mar 2022 at 15:59, Samuel Burt composer.samuel.burt@gmail.com wrote:
Thanks, IOhannes, for the link. It's easy to get lost in old documentation.
Does anyone know if any of the instructions on http://puredata.info/docs/guiplugins are applicable to Pd 0.5+ anymore or should we update the page to show which versions of Pd are capable of using these tcl plugins?
Sam
On 3/3/22 15:59, Samuel Burt wrote:
Hi, list.
In Pop_OS (Debian derivative), I created a file called *canvasgrey-plugin.tcl* and populated it with:
set ::canvas_fill "gray75" set ::text_color "#222"
I've openned Pd, created new windows, saved the preferences, but seen no change in the canvas or text color. Any suggestions?
This page http://puredata.info/docs/guiplugins/GuiPluginsAPI seems
recent
this page refers to pd-extended (long dead), and doesn't apply to pd
(vanilla).
theres currently no way to set the colors in Pd, but there's a [196]
that tries to add this possibility.
gasmr
IOhannes
[196] https://github.com/pure-data/pure-data/pull/196
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list