Paul Sijben wrote:
It looks like my project will need to combine multiple XRC files into
one UI plus some local class (like a derivative of the example
RichTextFrame).So I think I have two questions:
1) how I do place an XmlResource into an already existing XmlResource?
You can just call Load(filename) or LoadFromString(data) for each of the files to load them all into the same XmlResource instance.
Say I keep a placeholder planel or such for the other XRC file to be
inserted, get the ID of it and then...
2) Can I simply refer to the local class in the XRC file and will it
then be found if it exists in the local namespace?
I don't understand what you are asking here. You load the items from the other xrc files the same way you would if there was only one. You call the LoadPanel (or LoadOnPanel) method passing the name of the item and the window to be used as its parent.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!