Wow... that's a lot of work you put into it, thanks very much! I've resolved most of my issues with concurrency now (also thanks to discovering functions like wx.Yield(), wx.FutureCall() etc ;)
Greg
User Profile
Collapse
-
Apparently there's no going around that, the timers just won't start. However, I thought about using standard Python threading timers, I wonder if they're safe to use with wxPython?...Leave a comment:
-
wxPython - problem w/ timers
I get the following error in my app:
The origin of the error is obvious enough but I can't think of any reason I'm not allowed to start timers from threads other than main if I so wish. Is there any going around this limitation?...Code:wx._core.PyAssertionError: C++ assertion "wxThread::IsMain()" failed at ..\..\sr c\common\timercmn.cpp(66) in wxTimerBase::Start(): timer can only be started fro m the main thread
-
Making an app run at system startup
Hello again,
I googled for a way to make my app run at Windows startup and it seems that there are several ways to do it:
- add an appropriate key to the registry
http://aspn.activestate.com/ASPN/Coo.../Recipe/174627
http://www.windowsdevcenter.com/pub/...rtup_0401.html (VB specific but a good description anyway)
- add a shortcut (.lnk file) to Program Files/Autostart...Last edited by bartonc; Nov 1 '07, 04:15 PM. -
Oh, brilliant. Thanks a lot, should've found it myself. Anyway, I think it refers to the kind of notification XP uses to annoy users, like nagging every 5 minutes to enable automatic updates, not custom popups IMs use. I suppose that those have to be implemented as frames with modified style or sth to that effect. I was hoping there might be a quicker way but apparently there isn't.
Cheers,
Greg...Leave a comment:
-
wxPython - 'notifications' on desktop
Is it possible to display notifications (like those displayed by IM clients when someone's status changes/a message arrives) using wxPython? I tried googling/browsing documentation to find if there's a way but no avail.
TIA,
Greg. -
Design problems
I'm working on an IM client in Python and my idea was to make it fully modular. It seemed to me that the obvious approach is to make all plugins derive from a Plugin class (with ProtocolPlugin, UIPlugin subclasses) and to be loaded on program startup by yet another object, the PluginManager. It works as following: each plugin .py file is executed (via execfile()) by the PluginManager, creates an object deriving from the Plugin class and calls registerPlugin...
No activity results to display
Show More
Leave a comment: