User Profile

Collapse

Profile Sidebar

Collapse
jergosh
jergosh
Last Activity: Dec 11 '07, 03:37 PM
Joined: Jan 24 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jergosh
    replied to wxPython - problem w/ timers
    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
    See more | Go to post

    Leave a comment:


  • jergosh
    replied to wxPython - problem w/ timers
    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?...
    See more | Go to post

    Leave a comment:


  • jergosh
    started a topic wxPython - problem w/ timers

    wxPython - problem w/ timers

    I get the following error in my app:
    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
    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?...
    See more | Go to post

  • jergosh
    started a topic Making an app run at system startup

    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...
    See more | Go to post
    Last edited by bartonc; Nov 1 '07, 04:15 PM.

  • jergosh
    replied to wxPython - 'notifications' on desktop
    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...
    See more | Go to post

    Leave a comment:


  • jergosh
    started a topic wxPython - 'notifications' on desktop

    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.
    See more | Go to post

  • jergosh
    started a topic Design problems

    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...
    See more | Go to post
No activity results to display
Show More
Working...