[wxPython-users] Problems with XmlResourceHandler for FlatNotebook

Andrea Gavana andrea.gavana at gmail.com
Mon Dec 3 02:50:51 PST 2007


Hi Evan,

On Dec 2, 2007 11:27 PM, Evan Grim wrote:
> I'm using the FlatNotebook widget in a program I'm developing and am trying
> to transition my code to use XRC.  To do this I currently need to write my
> own XmlResourceHandler for XRC to use when loading my resource file.  I
> built a FlatNotebookHandler class to do this (fashioned after the Notebook
> handler I found in the wxWidgets code) but am having problems getting it to
> work.  I've stripped this down to a (somewhat) small example program showing
> what I've got and what's not working.  Hopefully one of the very smart
> people that subscribe to this list can help me target what I'm not doing
> correctly.  Enough chat, here's the code (my platform specifics are included
> in the output text included below the code):

<snip>
<snap>

> Any ideas?

Unfortunately, not a clue... I have never used XRC and I don't know
anything about it. I think Robin can provide a full answer on this
problem, and then I will incorporate your XRC handler into
FlatNotebook source code by updating the wxPython SVN. I am sorry I
can't provide an intelligent answer :-(

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/




More information about the wxpython-users mailing list