[wxPython-users] Best practice to rganize the code

Stef Mientki s.mientki at ru.nl
Sun Mar 16 10:30:53 PDT 2008



Mark Erbaugh wrote:
> On Sat, 2008-03-15 at 15:08 +0000, Norbert Klamann wrote:
>   
>> Hello List,
>> i build a mildly complex wxPython App for the presentation of Loans. The
>> application has the following structure
>>
>> Frame
>> +- ButtonPanel
>> +- Menu
>> +- Splitterwindow
>>    +- leftpanel
>>    |    several Input Controls with labels
>>    +- rightpanel
>>       +- Notebook
>>          +- overviewpanel
>>          |    several Output Controls and labels
>>          +- gridpanel
>>          |    grid with numbers
>>          +- plotpanel
>>               matplotlib plot
>>       +- errorpanel
>>           several texts. This panel is visikle 
>>             instead of the Notebook if something goes wrong
>>
>> The whole thing works in principle but the code is a mess.
A mess ....
... your  "code" above is really beautiful !!!
Coming from Delphi,
I can't imagine that no one has already made a routine
to convert the above code into real working Python code.
(As soon as I really understand sizers, I think I'll do it)

cheers,
Stef





More information about the wxpython-users mailing list