Canvas-Widget .... Color at position x,y

Matthias spooky0815 at gmx.de
Wed Jun 2 10:14:38 CEST 2004


Hello,

I have a Canvas-Widget and will use as a "array of pixel". At Positon
x,y I print a rectangle with a special color. I give the rectangle no
objectname. Then I will ask the "root-Canvas-Widget" for the color in
position x,y like:

color=cw.cget('bg',x,y)

I need HELP :))

Bye

Matthias




More information about the Python-list mailing list