tkinter paint program
Gigs_
gigs at hi.t-com.hr
Tue Apr 24 16:58:26 EDT 2007
Wojciech Muła wrote:
> 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.
thanks, thats exactly i need
More information about the Python-list
mailing list