Re: [Tkinter-discuss] changing button functionality

2006-04-28 Thread Stewart Midwinter
On 4/28/06, Ilknur Ozturk <[EMAIL PROTECTED]> wrote: If I can use if statement to determine the which function will be called when the button presses, it will be very helpful. Then I can call any function by checking the button's attributes with if statement. If it is not possible, how can I real

[Tkinter-discuss] changing button functionality

2006-04-28 Thread Ilknur Ozturk
I put a button (button1) and want that the user can change the function called when it is clicked. I planned such a way to realize this. The first click of it will open a new window and the user will enter a key in an entry. When he confirms it by pressing OK button, the button1 will be dir