Re: [Tkinter-discuss] Changing Entry-Widget

2005-01-13 Thread Stewart Midwinter
Daniel, another idea is to use the ValidatingEntry widget by Fredrik Lundh. It's on the Tkinter wiki here: http://tkinter.unpy.net/wiki/ValidateEntry what you could do is to make a FloatEntry that inherits from a StringEntry, but over-rides its Validate method. Look at the IntegerEntry for an ex

Re: [Tkinter-discuss] Changing Entry-Widget

2005-01-13 Thread Cameron Laird
On Thu, Jan 13, 2005 at 09:14:54AM -0600, Jeff Epler wrote: . . . > You need to learn about "break" and bindings. When you return the > string "break" from a binding, any subsequent binding that would have > been executed (suc

Re: [Tkinter-discuss] Changing Entry-Widget

2005-01-13 Thread Jeff Epler
You need to learn about "break" and bindings. When you return the string "break" from a binding, any subsequent binding that would have been executed (such as the default one for inserting characters into an entry widget). Here's a simple program that uses 'return "break"': import Tkinter

[Tkinter-discuss] Changing Entry-Widget

2005-01-13 Thread Daniel Nowak
Hello together,   I’m not sure if that is he right way to ask a question… I’ll try.   I want to change an input character in an Entry Widget of Tkinter. For example, if I press the „a“-key, I want to see in the Entry Widget the character „b“. Yet I was not able to „clear“ the input-char