Hi Michael,
On Thu, 28 Jun 2012 18:55:40 +0200
Michael Lange <[email protected]> wrote:
> Hi Mark,
>
> Thus spoketh Mark Summerfield <[email protected]>
> unto us on Thu, 28 Jun 2012 14:41:12 +0100:
>
[snip]
> So you should be able to check the window's "grid state" easily with
> wm_grid(), if it's None, the window is not gridded:
>
> >>> root = Tk()
> >>> print root.wm_grid()
> None
> >>> print root.wm_grid(100, 100, 10, 10)
> None
> >>> print root.wm_grid()
> (100, 100, 10, 10)
That worked great---thanks!
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
"Rapid GUI Programming with Python and Qt" - ISBN 0132354187
http://www.qtrac.eu/pyqtbook.html
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss