Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94050
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python3': 0.05; 'attributes': 0.07; 'friday,': 0.07; 'interpreted': 0.07; 'width': 0.07; 'subject:question': 0.08; 'boring': 0.09; 'default)': 0.09; 'grid': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'jan': 0.11; '(at': 0.13; 'size,': 0.13; 'experiments': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'resizing': 0.16; 'wrote:': 0.16; 'settings.': 0.18; '>>>': 0.20; 'settings': 0.20; '2015': 0.20; 'tkinter': 0.22; 'dec': 0.23; 'import': 0.24; 'skip:b 30': 0.24; 'header:In- Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'linux': 0.26; 'least': 0.27; 'recorded': 0.29; 'code': 0.30; 'window': 0.30; 'skip:[ 10': 0.31; 'post': 0.31; 'are:': 0.32; 'possibly': 0.32; 'but': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'received:org': 0.37; 'button': 0.38; 'to:addr:python.org': 0.40; 'email addr:gmail.com': 0.62; 'more': 0.63; 'believe': 0.66; 'here': 0.66; 'window,': 0.84; '2014,': 0.91; 'min': 0.91; 'received:fios.verizon.net': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Terry Reedy <tjreedy@udel.edu> |
| Subject | Re: tkinter resize question |
| Date | Sat, 18 Jul 2015 01:49:22 -0400 |
| References | <21c1f9fb-1af0-4c57-aeba-2c7d78b1e707@googlegroups.com> <mailman.666.1437173708.3674.python-list@python.org> <114744ef-1de6-48c7-9024-727051e545a7@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | pool-98-114-97-173.phlapa.fios.verizon.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
| In-Reply-To | <114744ef-1de6-48c7-9024-727051e545a7@googlegroups.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.673.1437198597.3674.python-list@python.org> (permalink) |
| Lines | 38 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1437198597 news.xs4all.nl 2951 [2001:888:2000:d::a6]:33811 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:94050 |
Show key headers only | View raw
On 7/17/2015 9:31 PM, nickgeovanis@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, nickgeovanis@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 code and experiments performed that leads you to believe the above. > > It's really boring but here you are: > > [ngeo@localhost src]$ python3 > Python 3.4.2 (default, Dec 20 2014, 13:53:33) > [GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux > Type "help", "copyright", "credits" or "license" for more information. >>>> import tkinter >>>> win=tkinter.Tk() >>>> frame=tkinter.Frame(win, bg="blue", width=200, height=200) >>>> butt1=tkinter.Button(fg="green", bg="black") >>>> frame.grid() >>>> butt1.grid() >>>> butt1["width"] > 0 >>>> butt1["height"] > 0 >>>> win["width"] > 0 >>>> win["height"] > 0 I believe these configuration settings should be interpreted a 'initial size' (if not default) or 'desired size' or possibly min or max size, depending on the grid or pack settings. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
tkinter resize question nickgeovanis@gmail.com - 2015-07-17 11:53 -0700
Re: tkinter resize question nickgeovanis@gmail.com - 2015-07-17 12:17 -0700
Re: tkinter resize question Russell Owen <rowen@uw.edu> - 2015-07-17 12:52 -0700
Re: tkinter resize question Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-17 13:06 -0700
Re: tkinter resize question nickgeovanis@gmail.com - 2015-07-17 15:42 -0700
Re: tkinter resize question Terry Reedy <tjreedy@udel.edu> - 2015-07-17 21:20 -0400
Re: tkinter resize question Terry Reedy <tjreedy@udel.edu> - 2015-07-17 18:49 -0400
Re: tkinter resize question nickgeovanis@gmail.com - 2015-07-17 18:31 -0700
Re: tkinter resize question Terry Reedy <tjreedy@udel.edu> - 2015-07-18 01:49 -0400
csiph-web