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 [email protected]: > > 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 when

Re: tkinter redraw rates

2013-07-18 Thread Christian Gollwitzer
Am 18.07.13 06:38, schrieb [email protected]: 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 self.loader_thread.isAliv

Re: tkinter redraw rates

2013-07-17 Thread Dave Angel
On 07/18/2013 12:38 AM, [email protected] wrote: On Thursday, July 18, 2013 9:07:24 AM UTC+8, Dave Angel wrote: On 07/17/2013 08:44 PM, [email protected] wrote: On Thursday, July 18, 2013 1:38:34 AM UTC+8, Dave Angel wrote: On 07/17/2013 09:18 AM, [email protected] wrote: On Wednesday,

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, [email protected] wrote: > > On Thursday, July 18, 2013 1:38:34 AM UTC+8, Dave Angel wrote: > >> On 07/17/2013 09:18 AM, [email protected] wrote: > >>> On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Ang

Re: tkinter redraw rates

2013-07-17 Thread Dave Angel
On 07/17/2013 08:44 PM, [email protected] wrote: On Thursday, July 18, 2013 1:38:34 AM UTC+8, Dave Angel wrote: On 07/17/2013 09:18 AM, [email protected] wrote: On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Angel wrote: On 07/17/2013 07:10 AM, [email protected] wrote: On Wednesday,

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, [email protected] wrote: > > On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Angel wrote: > >> On 07/17/2013 07:10 AM, [email protected] wrote: > >>> On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave An

Re: tkinter redraw rates

2013-07-17 Thread Michael Torrie
On 07/17/2013 05:08 AM, [email protected] 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 creat

Re: tkinter redraw rates

2013-07-17 Thread Peter Otten
[email protected] 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.isAliv

Re: tkinter redraw rates

2013-07-17 Thread Dave Angel
On 07/17/2013 09:18 AM, [email protected] wrote: On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Angel wrote: On 07/17/2013 07:10 AM, [email protected] wrote: On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: On 07/16/2013 11:04 PM, [email protected] wrote: Noted on the

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, [email protected] wrote: > > On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: > >> On 07/16/2013 11:04 PM, [email protected] wrote: > >>> Noted on the quoting thing. > >>> Regarding the thre

Re: tkinter redraw rates

2013-07-17 Thread Dave Angel
On 07/17/2013 07:10 AM, [email protected] wrote: On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: On 07/16/2013 11:04 PM, [email protected] 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 ho

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, [email protected] 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

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, [email protected] 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. > > > > > > A

Re: tkinter redraw rates

2013-07-17 Thread Dave Angel
On 07/16/2013 11:04 PM, [email protected] 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 wh

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 t

Re: tkinter redraw rates

2013-07-16 Thread Dave Angel
On 07/16/2013 09:51 PM, [email protected] 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 runn

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, [email protected] 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 i

Re: tkinter redraw rates

2013-07-16 Thread Dave Angel
On 07/16/2013 08:57 PM, [email protected] 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: This works, yes, but is annoyingly laggy on an older

Re: tkinter redraw rates

2013-07-16 Thread David Hutto
On Tue, Jul 16, 2013 at 9:32 PM, David Hutto 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. but, I, personall

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 fe

tkinter redraw rates

2013-07-16 Thread fronagzen
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: from tkinter import * from tkinter import ttk root_frame = Tk() root_frame.configure(background = 'black') img1