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.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to