Trying to play around with multi-level child windows/frames opening up based on other events, and primary issue could be to do with sort of porting code over to proper use of wxPython itself, but, just wondering if, when I make a call to another class instance, which is also sort of inheriting from the wx.Frame class, is there a limitation on what can be acting as/specified as the sort of requesting parent object?
Asking this since when, while testing, I instantiate one of my subclasses from the sort of top-level bit of UI, which I have stuck to implementing using a sort of instance of the LBC module’s instantiation of what seems to equate to the following - if run help() on an instance in python console:
help(dlg)
Help on Dialog in module lbc object:
class Dialog(wx._windows.Dialog)
Method resolution order:
Dialog
wx._windows.Dialog
wx._windows.TopLevelWindow
wx._core.Window
wx._core.EvtHandler
wx._core.Object
I would guess that while it’s a form of windows dialog, it is also matching somethig like wx.Window, and it seems Ok to then launch/be the parent for another class inheriting from wx.Frame, but, if I then, from that resulting piece of interface, try to launch yet another level of child window, there are all sorts of issue cropping up, including what seem to be mentions of invalid types for parent, etc., but, like said am not sure rest of my code port has gone perfectly as of yet, so just wondering if htere’s a limit to what can be used as sort of parent/launcher for something like this?
Could alternatively, hide the currently displayed child window/frame, and then also use original top-level object to then launch second child window or something, if necessary?
TIA (and, hope some of this makes some sense :))
Jacob Kruger
Blind Biker
Skype: BlindZA
‘…fate had broken his body, but not his spirit…’