Thus spoketh Lion Kimbro <[hidden email]>
unto us on Wed, 24 Aug 2011 09:50:08 -0700:
> Entry's don't have height; They only have width.
> You might be interested in a Text.
That's of course true if the OP meant to create a multi-line Entry
> 2011/8/24 守株待兔 <[hidden email]>
> > when i run:
> > from Tkinter import *
> > root = Tk()
> > Entry(root,text = 'input your text here',width = 100,height=20).pack()
> > root.mainloop()
> > tkinter.TclError: unknown option "-height"
> > can i have a higher entry?
However if you just want to change the Entry's visual appearance, you can
use a trick and use the geometry manager to vertically stretch the Entry
widget (this works at least here on linux, it might depend on the WM's
from Tkinter import *
root = Tk()
e=Entry(root,text = 'input your text here',width = 100)
BTW, you won't have much luck with the "text" option either, although it
does not produce an error message. If you want some default string you
will to have to insert it explicitely with the insert() method.
A quick overview on the Entry widget's options can be found at: