Python

Moderators: None (Apply to moderate this forum)
Number of threads: 473
Number of posts: 1172

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Tk's mainloop() Posted by 40177 on 17 Jul 2005 at 6:07 PM
Say there's a Tk GUI application and I need to do something in each cycle of mainloop(). For example, handling socket connections with socket.accept(). How can I do that? Is there some kind of WM_message I could bind my handler function to?
Report
Re: Tk's mainloop() Posted by infidel on 20 Jul 2005 at 8:32 AM
: Say there's a Tk GUI application and I need to do something in each cycle of mainloop(). For example, handling socket connections with socket.accept(). How can I do that? Is there some kind of WM_message I could bind my handler function to?

That's a very good question. If I have time I'll try looking up an answer for you. You could also post it at comp.lang.python, which is where most Pythonistas hang out.


infidel

$ select * from users where clue > 0
no rows returned





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.