[PD] pd-extended, version

Martin Peach martin.peach at sympatico.ca
Sat Jan 19 06:16:43 CET 2008


Ctrl Alt Back wrote:
> On Fri, Jan 18, 2008 at 10:20:15PM +0000, Martin Peach wrote:
>   
>> You can edit pt.tk in a text editor to change the colours. No need to 
>> compile anything.
>>     
> sorry i am failing to find it. i have previously installed
> pd-0.41-0test06, there IS /bin/pd.tk, but not 
> # color scheme                                                                                      
> set canvas_fill "white"                                                                             
> set text_color "#000"
> ... etc
>
>   

> the same in 
> /usr/local/lib/pd/bin/pd.tk
> /usr/lib/pd/bin/pd.tk
>
>   

About line 855 of any of those pd.tks you have:
############# pdtk_canvas_new -- create a new canvas ###############
proc pdtk_canvas_new {name width height geometry editable} {

and then these lines:
   wm geometry $name $geometry
   canvas $name.c -width $width -height $height -background white \

Just change "white" to some other named colour like "blue" or an RGB 
value such as "#0000FF".

Martin




More information about the Pd-list mailing list