Yes, I ran that elegantly simple code. The print statement reports the X, Y, Height and Width values. However, I do not see how to capture the width value.
I experimented with the code Vwidth = rootV.winfo_width() and it also reports the width as I resize the window. However, I cannot seem to use the variable Vwidth outside the sub routine. It is acting as if Vwidth is not global but I added that. It is reported that Vwidth is not defined when I try to use it in my code. So close...... SGA -----Original Message----- From: Barry <ba...@barrys-emacs.org> Sent: Saturday, February 24, 2024 3:04 AM To: Steve GS <Gronicus@sga.ninja> Cc: MRAB <pyt...@mrabarnett.plus.com>; python-list@python.org Subject: Re: Problem resizing a window and button placement > On 24 Feb 2024, at 04:36, Steve GS via Python-list <python-list@python.org> wrote: > > How do I extract the values > from args? You can look up the args in documentation. You can run the example code MRAB provided and see what is printed to learn what is in the args. Barry -- https://mail.python.org/mailman/listinfo/python-list