tkinter paint program
Wojciech Muła
wojciech_mula at poczta.null.onet.pl.invalid
Tue Apr 24 14:48:47 EDT 2007
Gigs_ wrote:
> I'm working on tkinter paint program, mostly to learn tkinter canvas.
> I have method which create buttons for oval, rectangle, line, polygon etc.
> How to make oval button to be sunken when i click it and to remain
> sunken until i click on another button (like rectangle and than is
> another button sunken)?
You can use radiobuttons. If attribute indicatoron is 0, then
radiobuttons are drawn as regular buttons. With attribute
selectcolor you can set background color of selected button.
w.
More information about the Python-list
mailing list