Ideed, good idea!
--
http://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote:
> Michael Onfrek wrote:
>
>
>>import Tkinter as tk
>>
>>Hi! Can you explain what line above mean?
>>
>>I also found : http://effbot.org/zone/tkinter-entry-validate.htm
>>
>>It works for me, but I not really understand how? :)
>
>
>>>import Tkinter as tk
>
>
> Make objects
Michael Onfrek wrote:
> import Tkinter as tk
>
> Hi! Can you explain what line above mean?
>
> I also found : http://effbot.org/zone/tkinter-entry-validate.htm
>
> It works for me, but I not really understand how? :)
>> import Tkinter as tk
Make objects defined in Tkinter available under the
import Tkinter as tk
Hi! Can you explain what line above mean?
I also found : http://effbot.org/zone/tkinter-entry-validate.htm
It works for me, but I not really understand how? :)
Thanks for help!
--
http://mail.python.org/mailman/listinfo/python-list
Michael Onfrek wrote:
> I'm playing with entry again and trying to restrict length of entry
> widget to certain number of character, so users cannot enter more
> character into it. Any ideas?
import Tkinter as tk
root = tk.Tk()
var = tk.StringVar()
max_len = 5
def on_write(*args):
s = var.ge
I'm using tkinter
--
http://mail.python.org/mailman/listinfo/python-list
Michael Onfrek wrote:
> Hi!
> I'm playing with entry again and trying to restrict length of entry
> widget to certain number of character, so users cannot enter more
> character into it. Any ideas?
> Reg. Michael Onfrek
>
What widget set are you talking about, wxPython pygtk, tkinter?
In wxPytho