[Tutor] placing widgets

Corey Richardson kb1pkl at aim.com
Tue Jan 25 23:01:39 CET 2011


On 01/25/2011 04:31 PM, W S wrote:
> hi, i have written some Tk/Python code to do a few simple tasks, and am having 
> trouble with my combobox placement on the frame.  is there a way to more 
> explicitly place it other than:  This method does not give a lot of control
> xx=apply(OptionMenu,(self,TCase)+tuple(TestCase))
> xx.grid(row=1, sticky=E+W)

You can use place (http://effbot.org/tkinterbook/place.htm). Never had
the occasion to use it, but you may find it useful.
~Corey


More information about the Tutor mailing list