Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50809
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.albasani.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <torriem@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.020 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'created,': 0.09; 'gui': 0.12; 'thread': 0.14; 'doing,': 0.16; 'event-driven': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'thread,': 0.16; 'timeout': 0.16; 'variable.': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'widget': 0.19; 'handles': 0.22; 'header :User-Agent:1': 0.23; 'updating': 0.26; 'least': 0.26; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; "i'm": 0.30; 'ok.': 0.31; 'text': 0.33; "i'd": 0.34; 'advice': 0.35; 'display': 0.35; 'message- id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'according': 0.40; 'how': 0.40; 'new': 0.61; 'email addr:gmail.com': 0.63; 'ms.': 0.84; 'technique': 0.93 |
| X-Virus-Scanned | amavisd-new at torriefamily.org |
| Date | Wed, 17 Jul 2013 16:53:59 -0600 |
| From | Michael Torrie <torriem@gmail.com> |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/10.0.12 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: tkinter redraw rates |
| References | <b80dcc82-7fdb-4213-bec0-5e704483ce28@googlegroups.com> <mailman.4794.1374025243.3114.python-list@python.org> <17c2ef71-ee2d-4229-9731-e0d54a0997cb@googlegroups.com> <mailman.4795.1374027719.3114.python-list@python.org> <a3e5a3bc-248b-4f87-b161-596c6fe77fba@googlegroups.com> <mailman.4799.1374055664.3114.python-list@python.org> <ca48edea-c24a-430d-9ab6-0e4bed8ceee5@googlegroups.com> |
| In-Reply-To | <ca48edea-c24a-430d-9ab6-0e4bed8ceee5@googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.4817.1374101739.3114.python-list@python.org> (permalink) |
| Lines | 11 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1374101739 news.xs4all.nl 15940 [2001:888:2000:d::a6]:35335 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:50809 |
Show key headers only | View raw
On 07/17/2013 05:08 AM, fronagzen@gmail.com wrote: > Ok. Well, what I'm currently doing, based on advice from this thread, > is to create a new thread that handles the downloading, as well as > updating a variable for text display on the GUI, and in the main > thread, just after the thread is created, a while loop that updates > the GUI while the thread is running. Not sure what you mean by "while loop." In an event-driven paradigm, one technique would be to set a timeout event that fires every so many ms. Then in the event callback, you update the widget according to the new value of the variable. At least this is how i'd do it in Qt or GTK.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
tkinter redraw rates fronagzen@gmail.com - 2013-07-16 17:57 -0700
Re: tkinter redraw rates David Hutto <dwightdhutto@gmail.com> - 2013-07-16 21:32 -0400
Re: tkinter redraw rates David Hutto <dwightdhutto@gmail.com> - 2013-07-16 21:34 -0400
Re: tkinter redraw rates Dave Angel <davea@davea.name> - 2013-07-16 21:40 -0400
Re: tkinter redraw rates fronagzen@gmail.com - 2013-07-16 18:51 -0700
Re: tkinter redraw rates Dave Angel <davea@davea.name> - 2013-07-16 22:21 -0400
Re: tkinter redraw rates fronagzen@gmail.com - 2013-07-16 20:04 -0700
Re: tkinter redraw rates Dave Angel <davea@davea.name> - 2013-07-17 06:07 -0400
Re: tkinter redraw rates fronagzen@gmail.com - 2013-07-17 04:08 -0700
Re: tkinter redraw rates Michael Torrie <torriem@gmail.com> - 2013-07-17 16:53 -0600
Re: tkinter redraw rates fronagzen@gmail.com - 2013-07-17 04:10 -0700
Re: tkinter redraw rates Dave Angel <davea@davea.name> - 2013-07-17 07:42 -0400
Re: tkinter redraw rates fronagzen@gmail.com - 2013-07-17 06:18 -0700
Re: tkinter redraw rates Dave Angel <davea@davea.name> - 2013-07-17 13:38 -0400
Re: tkinter redraw rates fronagzen@gmail.com - 2013-07-17 17:44 -0700
Re: tkinter redraw rates Dave Angel <davea@davea.name> - 2013-07-17 21:07 -0400
Re: tkinter redraw rates fronagzen@gmail.com - 2013-07-17 21:38 -0700
Re: tkinter redraw rates Dave Angel <davea@davea.name> - 2013-07-18 00:52 -0400
Re: tkinter redraw rates Christian Gollwitzer <auriocus@gmx.de> - 2013-07-18 09:20 +0200
Re: tkinter redraw rates fronagzen@gmail.com - 2013-07-18 02:10 -0700
Re: tkinter redraw rates Peter Otten <__peter__@web.de> - 2013-07-17 20:10 +0200
csiph-web