Tkinter-PhotoImage question

Gregor Lingl glingl at aon.at
Sat Sep 20 16:30:44 EDT 2003


Hi all,

The Tkinter PhotoImage Widget can be set to
"transparent" with the method blank().

Moreover the color of single pixels or
definite regions can be set with method put.

I'd like to set single pixels (or some rectangular
regions) to "transparent". Can I use put to
accomplish this, and if so, which first argument
("data") have I to pass to put?

If not, is there another way to do it?

Thanks, Gregor





More information about the Python-list mailing list