root = Tkinter.Tk()
mainFrame = Tkinter.Frame(root)
mainFrame.grid()
button = Tkinter.Button(mainFrame, text='dummy')
button.grid()
entryFrame = Tkinter.Frame(mainFrame, width=454, height=20)
entryFrame.grid(row=0, column=1)
entryFrame.columnconfigure(0, weight=10)
entryFrame.grid_propagate(False)
inValue = Tkinter.StringVar()
inValueEntry = Tkinter.Entry(entryFrame, textvariable=inValue)
inValueEntry.grid(sticky='we')
root.mainloop()
How to specify the dimensions of a Tkinter text box in pixels?