Article View: pl.comp.lang.tcl
Article #154Re: Tk - centrowanie głównego okna
From: Wojciech Kocjan
Date: Fri, 29 Jul 2005 06:53
Date: Fri, 29 Jul 2005 06:53
30 lines
2287 bytes
2287 bytes
kokoryn napisał(a): > Tak, już zaczynam pojmować. Przeleciałem po wszystkich widgetach (od > "najgłębszych" do tych najbardziej "na wierzchu") i faktycznie > wszystkie nie-frame'y zwróciły konkretne wartości, frame'y 1x1, a okno > główne 200 i 200. Rozumiem, że te jedynki wynikają z tego, że wymiary > dla frame'a są obliczane w momencie, kiedy jest on upakowany? A da się > je przeliczyć zanim zostanie wyświetlony? SYNOPSIS update ?idletasks? DESCRIPTION This command is used to bring the application ``up to date'' by entering the event loop repeatedly until all pending events (including idle callbacks) have been processed. If the idletasks keyword is specified as an argument to the command, then no new events or errors are processed; only idle callbacks are invoked. This causes operations that are normally deferred, such as display updates and window layout calculations, to be performed immediately. Juz pisalem chyba o tym ;-) > I dlaczego dla okna toplevel > dostaję 200x200 (wygląda na jakąś wartość wziętą z sufitu)? Chyba tak. Nie znam na wszystko odpowiedzi ;-) -- WK
Technical Details
Message-ID:
<dccjp3$n9i$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.atman.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<dca44h$k0d$1@sunnews.cern.ch> <au8he1l9tbcu55jf2p2155f26hkvkni1s4@4ax.com> <dcakko$r79$1@sunnews.cern.ch> <rrqhe11fco12o7vqn6dsdb3te9qjqd6sbq@4ax.com> <dcb3fu$eqm$1@nemesis.news.tpi.pl> <k59ie1p4b52b898a98spv10kuia1v0q169@4ax.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.atman.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Wojciech Kocjan <mojeimie@kocjan.org> Newsgroups: pl.comp.lang.tcl Subject: Re: Tk - centrowanie głównego okna Date: Fri, 29 Jul 2005 08:53:17 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 30 Message-ID: <dccjp3$n9i$1@nemesis.news.tpi.pl> References: <dca44h$k0d$1@sunnews.cern.ch> <au8he1l9tbcu55jf2p2155f26hkvkni1s4@4ax.com> <dcakko$r79$1@sunnews.cern.ch> <rrqhe11fco12o7vqn6dsdb3te9qjqd6sbq@4ax.com> <dcb3fu$eqm$1@nemesis.news.tpi.pl> <k59ie1p4b52b898a98spv10kuia1v0q169@4ax.com> NNTP-Posting-Host: dq2.dataquest.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1122620004 23858 195.116.54.236 (29 Jul 2005 06:53:24 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Fri, 29 Jul 2005 06:53:24 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: pl, en-us, en In-Reply-To: <k59ie1p4b52b898a98spv10kuia1v0q169@4ax.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit