[Tutor] Tkinter resizable menu??

Albert-Jan Roskam fomcl at yahoo.com
Tue Jul 8 17:46:36 CEST 2014


I created a small menu with Tkinter. It has two listboxes: a source and a destination box. The user can select files from the source box and 'move' them to the destination box. It now does what I want, except for one thing: when I resize it, the listboxes will not (*will* not, grrr) increase in size.

I followed these instructions: http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/root-resize.html

I added background colors to the various frames to see what's happening. I pasted the code here because it is a bit much (sorry): http://pastebin.com/waeACc4B. Any idea what I am doing wrong in the function createListbox (line 80)? I am using sticky=NESW in the grid() calls. 

Thank you in advance!




All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a 

fresh water system, and public health, what have the Romans ever done for us?


More information about the Tutor mailing list