Re: tkinter redraw rates

2013-07-18 Thread Christian Gollwitzer
Am 18.07.13 06:38, schrieb fronag...@gmail.com: On Thursday, July 18, 2013 9:07:24 AM UTC+8, Dave Angel wrote: Nope - don't use that. Instead, post an event on the queue, and return to the mainloop() from whence we came. def test_thread(self): if

Re: tkinter redraw rates

2013-07-18 Thread fronagzen
On Thursday, July 18, 2013 3:20:28 PM UTC+8, Christian Gollwitzer wrote: Am 18.07.13 06:38, schrieb fronag...@gmail.com: On Thursday, July 18, 2013 9:07:24 AM UTC+8, Dave Angel wrote: Nope - don't use that. Instead, post an event on the queue, and return to the mainloop() from whence we

Re: tkinter redraw rates

2013-07-17 Thread Dave Angel
On 07/16/2013 11:04 PM, fronag...@gmail.com wrote: Noted on the quoting thing. Regarding the threading, well, first, I'm not so much a programmer as someone who knows a bit of how to program. And it seems that the only way to update a tkinter window is to use the .update() method, which is

Re: tkinter redraw rates

2013-07-17 Thread fronagzen
On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: On 07/16/2013 11:04 PM, fronag...@gmail.com wrote: Noted on the quoting thing. Regarding the threading, well, first, I'm not so much a programmer as someone who knows a bit of how to program. And it seems that

Re: tkinter redraw rates

2013-07-17 Thread fronagzen
On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: On 07/16/2013 11:04 PM, fronag...@gmail.com wrote: Noted on the quoting thing. Regarding the threading, well, first, I'm not so much a programmer as someone who knows a bit of how to program. And it seems that the only way

Re: tkinter redraw rates

2013-07-17 Thread Dave Angel
On 07/17/2013 07:10 AM, fronag...@gmail.com wrote: On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: On 07/16/2013 11:04 PM, fronag...@gmail.com wrote: Noted on the quoting thing. Regarding the threading, well, first, I'm not so much a programmer as someone who knows a bit of

Re: tkinter redraw rates

2013-07-17 Thread fronagzen
On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Angel wrote: On 07/17/2013 07:10 AM, fronag...@gmail.com wrote: On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: On 07/16/2013 11:04 PM, fronag...@gmail.com wrote: Noted on the quoting thing. Regarding the threading, well,

Re: tkinter redraw rates

2013-07-17 Thread Dave Angel
On 07/17/2013 09:18 AM, fronag...@gmail.com wrote: On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Angel wrote: On 07/17/2013 07:10 AM, fronag...@gmail.com wrote: On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: On 07/16/2013 11:04 PM, fronag...@gmail.com wrote: Noted on

Re: tkinter redraw rates

2013-07-17 Thread Peter Otten
fronag...@gmail.com wrote: Hm. My apologies for not being very clear. What I'm doing is this: self.loader_thread = Thread(target=self.loadpages, name=loader_thread) self.loader_thread.start() while self.loader_thread.isAlive():

Re: tkinter redraw rates

2013-07-17 Thread Michael Torrie
On 07/17/2013 05:08 AM, fronag...@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,

Re: tkinter redraw rates

2013-07-17 Thread fronagzen
On Thursday, July 18, 2013 1:38:34 AM UTC+8, Dave Angel wrote: On 07/17/2013 09:18 AM, fronag...@gmail.com wrote: On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Angel wrote: On 07/17/2013 07:10 AM, fronag...@gmail.com wrote: On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel

Re: tkinter redraw rates

2013-07-17 Thread Dave Angel
On 07/17/2013 08:44 PM, fronag...@gmail.com wrote: On Thursday, July 18, 2013 1:38:34 AM UTC+8, Dave Angel wrote: On 07/17/2013 09:18 AM, fronag...@gmail.com wrote: On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Angel wrote: On 07/17/2013 07:10 AM, fronag...@gmail.com wrote: On

Re: tkinter redraw rates

2013-07-17 Thread fronagzen
On Thursday, July 18, 2013 9:07:24 AM UTC+8, Dave Angel wrote: On 07/17/2013 08:44 PM, fronag...@gmail.com wrote: On Thursday, July 18, 2013 1:38:34 AM UTC+8, Dave Angel wrote: On 07/17/2013 09:18 AM, fronag...@gmail.com wrote: On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Angel wrote:

Re: tkinter redraw rates

2013-07-17 Thread Dave Angel
On 07/18/2013 12:38 AM, fronag...@gmail.com wrote: On Thursday, July 18, 2013 9:07:24 AM UTC+8, Dave Angel wrote: On 07/17/2013 08:44 PM, fronag...@gmail.com wrote: On Thursday, July 18, 2013 1:38:34 AM UTC+8, Dave Angel wrote: On 07/17/2013 09:18 AM, fronag...@gmail.com wrote: On Wednesday,

Re: tkinter redraw rates

2013-07-16 Thread David Hutto
I've had a similar problem with a tkinter/3D app. right now I'm looking toward Blender, and the Python API, but there is also wxpython, and the usual python's library gtk. There is also matplotlib with the ion window. but, I, personally, am going to go with Blender, and Python API, with maybe a

Re: tkinter redraw rates

2013-07-16 Thread David Hutto
On Tue, Jul 16, 2013 at 9:32 PM, David Hutto dwightdhu...@gmail.com wrote: I've had a similar problem with a tkinter/3D app. right now I'm looking toward Blender, and the Python API, but there is also wxpython, and the usual python's library gtk. There is also matplotlib with the ion window.

Re: tkinter redraw rates

2013-07-16 Thread Dave Angel
On 07/16/2013 08:57 PM, fronag...@gmail.com wrote: Hm. So I've written a GUI in tkinter. I've found two performance issues, I was hoping someone could point me in the right direction. Firstly, I'm using an image as a border, namely: SNIP This works, yes, but is annoyingly laggy on an

Re: tkinter redraw rates

2013-07-16 Thread fronagzen
On Wednesday, July 17, 2013 9:40:15 AM UTC+8, Dave Angel wrote: On 07/16/2013 08:57 PM, fronag...@gmail.com wrote: Hm. So I've written a GUI in tkinter. I've found two performance issues, I was hoping someone could point me in the right direction. Firstly, I'm using an image as a

Re: tkinter redraw rates

2013-07-16 Thread Dave Angel
On 07/16/2013 09:51 PM, fronag...@gmail.com wrote: If you are going to use googlegroups, then at least bypass its worst bugs, like double-spacing everything it quotes. http://wiki.python.org/moin/GoogleGroupsPython Yeah, I understand that tkinter isn't really designed for 'logic is

Re: tkinter redraw rates

2013-07-16 Thread fronagzen
Noted on the quoting thing. Regarding the threading, well, first, I'm not so much a programmer as someone who knows a bit of how to program. And it seems that the only way to update a tkinter window is to use the .update() method, which is what I was experimenting with. Start up a new thread