Tkinter entry field question

Joseph A Knapka jknapka at earthlink.net
Tue Oct 23 14:34:01 EDT 2001


Laura Creighton wrote:
> 
> Tkinter Entry fields have a width but not a height.  If you don't like the
> height they come in, and know what height you want, how do you change
> them?
> 
> Laura Creighton
Laura Creighton wrote:
> 
> Tkinter Entry fields have a width but not a height.  If you don't like the
> height they come in, and know what height you want, how do you change
> them?

Hi Laura,

>From the Tk man page on "entry":

      "An entry is a widget that displays a one-line text string"

IOW, height == 1, period. If you need a multiline text
control, you have to use a text widget instead.

Cheers,

-- Joe
# "You know how many remote castles there are along the
#  gorges? You can't MOVE for remote castles!" - Lu Tze re. Uberwald
# Linux MM docs:
http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html

-- 
# Replace the pink stuff with net to reply.
# "You know how many remote castles there are along the
#  gorges? You can't MOVE for remote castles!" - Lu Tze re. Uberwald
# Linux MM docs:
http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html



More information about the Python-list mailing list