tkinter resize question

2015-07-17 Thread nickgeovanis
Resizing a tkinter window which contains a frame which contains a button widget, will not change the current size of the window, frame or button as recorded in their height and width attributes (at least not if they are resizable). What is the correct way to detect their current size? --

Re: tkinter resize question

2015-07-17 Thread nickgeovanis
On Friday, July 17, 2015 at 1:53:19 PM UTC-5, nickge...@gmail.com wrote: Resizing a tkinter window which contains a frame which contains a button widget, will not change the current size of the window, frame or button as recorded in their height and width attributes (at least not if they are

Re: tkinter resize question

2015-07-17 Thread Terry Reedy
On 7/17/2015 2:53 PM, nickgeova...@gmail.com wrote: Resizing a tkinter window which contains a frame which contains a button widget, will not change the current size of the window, frame or button as recorded in their height and width attributes (at least not if they are resizable). Post the

Re: tkinter resize question

2015-07-17 Thread Terry Reedy
On 7/17/2015 9:31 PM, nickgeova...@gmail.com wrote: On Friday, July 17, 2015 at 5:55:19 PM UTC-5, Terry Reedy wrote: On 7/17/2015 2:53 PM, nickgeova...@gmail.com wrote: Resizing a tkinter window which contains a frame which contains a button widget, will not change the current size of the

Re: tkinter resize question

2015-07-17 Thread Russell Owen
On 7/17/15 12:17 PM, nickgeova...@gmail.com wrote: On Friday, July 17, 2015 at 1:53:19 PM UTC-5, nickge...@gmail.com wrote: Resizing a tkinter window which contains a frame which contains a button widget, will not change the current size of the window, frame or button as recorded in their

Re: tkinter resize question

2015-07-17 Thread Rick Johnson
On Friday, July 17, 2015 at 2:52:56 PM UTC-5, Russell Owen wrote: I'm not seeing it. If I try the following script I see that resizing the widget does update frame.winfo_width() and winfo_height. (I also see that the requested width and height are ignored; you can omit those). I wonder if

Re: tkinter resize question

2015-07-17 Thread nickgeovanis
On Friday, July 17, 2015 at 5:55:19 PM UTC-5, Terry Reedy wrote: On 7/17/2015 2:53 PM, nickgeova...@gmail.com wrote: Resizing a tkinter window which contains a frame which contains a button widget, will not change the current size of the window, frame or button as recorded in their height

Re: tkinter resize question

2015-07-17 Thread nickgeovanis
On Friday, July 17, 2015 at 2:52:56 PM UTC-5, Russell Owen wrote: On 7/17/15 12:17 PM, nickgeova...@gmail.com wrote: On Friday, July 17, 2015 at 1:53:19 PM UTC-5, nickge...@gmail.com wrote: Resizing a tkinter window which contains a frame which contains a button widget, will not change the

Re: tkinter resize question

2015-07-17 Thread Terry Reedy
On 7/17/2015 6:42 PM, nickgeova...@gmail.com wrote: I don't think I've seen the winfo_optioname() construct in the python-side doc. For example Sec 25.1.6.1 Setting Options in the tkinter chapter of the standard python Library Reference doesn't mention it or anything syntactically similar.