From: Matthew M. <mcn...@cs...> - 2003-01-22 06:58:18
|
I solved this problem by doing roughly: def __init__(...): ... widget.bind("<Configure>", self._configure) ... def _configure(self, event): self._size[event.widget] = (event.width, event.height) Good luck, YMMV On Tue, 21 Jan 2003, Rob Myroon wrote: > I am using a paned widget and would like to know if there is a way to determine the width/height > of the panes (the user may have resized the pane). > > I know that each pane is a Frame so I tried to do a cget on the frame's height and width options > but they always return 0. > > I am using Win ME :(, Tkinter 1.16, Pmw 1.1, Python 2.2.1 (ActiveState). -- Matthew McNaughton <mcn...@cs...> |