Unable to handle window resizing event correctly. In this program, widgets should be customized to fit the window size. topFrame should take the width across the width of the window, and the leftFrame and rightFrame should take half the width of the window and the height equal to the height of the window — the height of the topFrame. Moreover, if I change the window width, i.e. I pull the left or right edge of the window, then the widgets "react" and change the width, but if I try to do the same with height, they show a fig.
Python 2.7, Windows 7 Code here (pastebin)