Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24627

Re: TKinter Frame Size automatic

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'attribute.': 0.09; 'forms,': 0.09; 'normally,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tab': 0.09; 'terry': 0.09; 'inserting': 0.16; 'message-id:@dough.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'resize': 0.16; 'tabs': 0.16; 'tkinter.': 0.16; 'width,': 0.16; 'wrote:': 0.17; 'instance,': 0.17; 'jan': 0.18; 'variable': 0.20; 'not,': 0.21; 'displayed': 0.22; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'am,': 0.27; 'first,': 0.27; 'question': 0.27; 'header:X-Complaints-To:1': 0.28; 'behaviour': 0.29; 'window': 0.30; 'expect': 0.31; 'could': 0.32; 'to:addr:python- list': 0.33; 'text': 0.34; 'largest': 0.35; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'should': 0.36; 'display': 0.36; 'subject:: ': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'email addr:gmail.com': 0.63; 'press': 0.71; 'received:fios.verizon.net': 0.84; 'subject:Size': 0.84; 'notebook': 0.96
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: TKinter Frame Size automatic
Date Thu, 28 Jun 2012 13:33:49 -0400
References <04c56243-cce8-476c-a228-49fd703834a1@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-74-109-121-73.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
In-Reply-To <04c56243-cce8-476c-a228-49fd703834a1@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1615.1340904851.4697.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1340904851 news.xs4all.nl 6917 [2001:888:2000:d::a6]:44591
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:24627

Show key headers only | View raw


On 6/28/2012 9:07 AM, hkaratoy@gmail.com wrote:
> I have a question about the frame size.
>
> I want to create Tabbed window. There will be one Window and tabs in
> this window. The page will be displayed whenever the user press the
> corresponding tab. This is simple NoteBook behaviour from Tkinter. I
> do not want to set the master window size but I want to make it
> dynamic regarding to the largest tabbed window.

Normally, like in a browser, tabs display text of unknown, variable size 
and take their size from the master window. If the tabs display 
fixed-sized forms, for instance, I would expect that you could resize 
the main window after inserting tab widgets but before displaying. If 
not, you should be to create the widgets first, find the largest height 
and width, create the master, and then put the widgets into the master, 
changing their 'master' attribute.

-- 
Terry Jan Reedy


Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

TKinter Frame Size automatic hkaratoy@gmail.com - 2012-06-28 06:07 -0700
  Re: TKinter Frame Size automatic Terry Reedy <tjreedy@udel.edu> - 2012-06-28 13:33 -0400

csiph-web