Re: tkinter and widget placement after resizing

2009-05-08 Thread John Posner
jamieson wrote: i.e. start out with a window like this: [1][4][7] [2][5][8] [3][6][9] make the main window larger and end up with this: [1][6] [2][7] [3][8] [4][9] [5 Here's a solution, using Label widgets for clarity. The keys are: * start numbering from zero, not one * use divmod() on an

tkinter and widget placement after resizing

2009-05-07 Thread jamieson
Hello, I've got a fairly simple GUI that places pmw.EntryFields into a window starting in the upper left corner. When the first column is filled with these widgets I'd like to start a new column and continue placement, and so on. It is working now with the grid manager if I explicitly set the ma