TKinter Entry question

Laura Creighton lac at
Fri Jan 31 09:39:47 CET 2003

> Q1 can I put some pre text in the entry box?. How?
> Q2 how do I know when/if to get the users entry?
> 		does Python/tk set a flag.
> Im trying to achieve a simple GUI(within a frame of other buttons etc)
> entry box, that i can shove some pre text in(default) but allow a user
> to modify.
> Status=ActivePython,xp,newbie
> Im having trouble with the Entry code in TK
> <snip>
> self.e_fanon=Entry(frame,width=5)
> self.e_fanon.grid(row=l_row,column=1,sticky=W)
> <endsnip>
> ta
> -- 

You need to bookmark this:
explains how to use the insert method to insert text in your entry

Another useful Tkinter doc is


More information about the Python-list mailing list