Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use "Resource Editor" in wxPython ?


  • From: kyosohma at gmail.com (kyosohma at gmail.com)
  • Subject: How to use "Resource Editor" in wxPython ?
  • Date: Fri, 31 Aug 2007 06:46:25 -0700

On Aug 31, 7:49 am, codemania <codema... at gmail.com> wrote:
> Disappointing me extremely, with the "generate python" function within
> Resource Editor, I only get a segment of python code which load
> xrc(xml format) file, rather than real python code in which I could
> append my own code.
>
> Does that mean RE(Resource Editor) is of little use?
>
> I hope not, maybe the way I use it is wrong? Tell me please.

You can use the code generated with your wxPython code; but when using
XRCed, you need to do two-stage creation, which the generated code
mentions. It even provides a link: http://wiki.wxpython.org/index.cgi/TwoStageCreation

I thought this one was good reading too:
http://wiki.wxpython.org/index.cgi/UsingXmlResources

I like it depending on the complexity of the project. It can seriously
reduce GUI code clutter.

Mike