Re: Tkinter / Entry widget problem

2009-07-14 Thread John McMonagle
Andras Szabo wrote: > Hello. I searched the archives but couldn't find a solution to a problem > related to the Entry widget in Tkinter. > > When creating a pop-up window in an app, which contains an Entry widget, > I want this widget to contain some default string, to have all this > default stri

Re: Tkinter / Entry widget problem

2009-07-14 Thread Andras Szabo
So it's either that I use Python 2.5.1, or that I use it on a Mac. (John, your code still doesn't work the way it's supposed to here.) I guess I'll upgrade to 2.6.1 and see if it makes a difference. (The Tkinter/Tcl versions are the same for me.) Thanks for your help. andras On Jul 14, 200

Re: Tkinter / Entry widget problem

2009-07-14 Thread John Posner
Andras Szabo wrote: Hello. I searched the archives but couldn't find a solution to a problem related to the Entry widget in Tkinter. When creating a pop-up window in an app, which contains an Entry widget, I want this widget to contain some default string, to have all this default string s

Re: Tkinter / Entry widget problem

2009-07-14 Thread Peter Otten
Andras Szabo wrote: > Hello. I searched the archives but couldn't find a solution to a > problem related to the Entry widget in Tkinter. > > When creating a pop-up window in an app, which contains an Entry > widget, I want this widget to contain some default string, to have all > this default str

Tkinter / Entry widget problem

2009-07-13 Thread Andras Szabo
Hello. I searched the archives but couldn't find a solution to a problem related to the Entry widget in Tkinter. When creating a pop-up window in an app, which contains an Entry widget, I want this widget to contain some default string, to have all this default string selected (as if the us

Re: Entry Widget problem

2006-06-30 Thread Fredrik Lundh
Marek S. wrote: > def __init__(self): ... >self.c=f.readline() >c1=int(self.c) >self.FieldList=[] >self.FieldList.append(c1) here you add an integer to the list. >def Pola(self,k,icol,irow,DefaultValue): >self.Tab=StringVar() ... >self.FieldLis

Entry Widget problem

2006-06-30 Thread Marek S.
Hi, I am new in Python and I have no experience in object-oriented programming. I want to make an easy GUI for my application. What is my problem? I have the data-file like this (file ETab_H1.dan): 16 1 13 10 1 0.9 1.1 1 0 0.0 0.0 0.0 2 14 50 2 0.9 1.1 4 2 0.0 0.0 0.0 3