How to get a frame's size
John Shankland
jshREMankl at speakeasy.org
Sat Mar 17 15:58:53 EST 2001
I have a frame called IndexCard1 with some widgets packed in it. I want to
make several of these and put them in a grid. I need to know how many I can
fit on the screen, so I need the size of the frame. I'm able to get the
dimensions of the screen okay, but IndexCard1.winfo_width() seems to always
return 1. As do all of the other size related methods I could find. So my
question is how do I get the size in pixels of IndexCard1?
Thanks for your time.
--
©¿©¬
John
More information about the Python-list
mailing list