Useful links
Getting Back into WxPython
Whenever I get away from programming in a particular area, I need to study examples of progressively increasing difficulty. I start with "hello world" type examples, such as the
following:
1 2 3 4 5 | from wxPython.wx import wxPySimpleApp, wxFrame app = wxPySimpleApp() frame = wxFrame(None, -1, "Hello World") frame.Show(1) app.MainLoop() |
Key Concepts
I will want to have access to documentation on the classes of WxPython. For example, wxPython.org's documentation on:
Another helpful presentation:
Advanced wxPython Nuts and Bolts
Alternatives to wxPython
ChristianStimming's comment: However, wxWindows is not nicely documented. And wxPython even less -- they don't implemented Python's online help system at all. Which is a pity because even though the developers claim wxWindows' documentation should be fully sufficient for wxPython, in practice often enough this is not the case. If you are already familiar with wxWindows and are proficient in using their GUI building concept (by nesting Sizers), then you can use wxPython as well. On the other hand, if you have to learn a new GUI toolkit anyway, then wxPython might result in too much unnecessary frustration for a beginner. How about
PyQt?
RaymondYee: We've started using wxPython -- and the relative dearth of clear documentation has certainly been a source of frustration. We're using wxPython because I came across it when reading Python Programming for Win32 (or something like that) and because the ChandlerProject is
using it. We should re-examine at some point soon before making too much more progress.
A google search for a comparison between wxPython and PyQt yields
More on Rapid Prototyping: PyQt, wxPython, Jython
How to handle long running tasks in wxPython?
LongRunningTasks seems like a good place to learn how to keep the GUI responsive while some background tasks takes its time to do something.
Useful widgets in WxPython
Buzz is a free wxPython-based outliner. I've been wondering how to replicate EccoPro (an outliner) functionality in the ChandlerProject when it is ready to be used. Can Buzz provide some infrastructure/guidance?
