There are a few ways to change the colors of the cords:
$::msg_cord/$::msg_nlet, i.e. you could add this to a GUI plugin:
set signal_cord green
set signal_nlet pink
set msg_cord darkblue
set msg_nlet red
which you can do in a GUI plugin, in response to when its loaded, when it changed Editmode, etc.
bind all <<Loaded>> "%W itemconfigure cord -fill yellow -width 1"
get the canvas ID, then send that to this message:
[$1 itemconfigure cord -fill yellow -width 1(
The width is optional, but I thought I'd throw it in there to play with. There are other was with GUI plugins too, like using the Tk option command, with or without the tags. I'm going to add more info about the Tk tags to the API wiki:
http://puredata.info/docs/guiplugins/GuiPluginsAPI
.hc
On 02/17/2013 12:35 PM, Rob Bothof wrote:
Hi List,
I've been fooling around with the gui-plugins, great stuff, and combined the fullscreen with the kiosk plugin to make it switchable and hide the mouse, which is perfect for my intended use with a tablet pc
when experimenting with this, and browsing the tcl files i'm now working on an inverted (white on black) color-scheme for pd editing, but there are a few things i can't find in the tcl files:
- I can change the colors of the wires, but not the color a wire has when
connecting one box to another, can this be changed with a tcl setting ?
- is it possible to change the default/initial colors of gui-objects like
bang, tgl etc through tcl or are these hardcoded in C ?
kind regards, Rob
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list