+class wxXmlPropertyPtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetName(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlProperty_GetName,(self,) + _args, _kwargs)
+ return val
+ def GetValue(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlProperty_GetValue,(self,) + _args, _kwargs)
+ return val
+ def GetNext(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlProperty_GetNext,(self,) + _args, _kwargs)
+ if val: val = wxXmlPropertyPtr(val)
+ return val
+ def SetName(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlProperty_SetName,(self,) + _args, _kwargs)
+ return val
+ def SetValue(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlProperty_SetValue,(self,) + _args, _kwargs)
+ return val
+ def SetNext(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlProperty_SetNext,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxXmlProperty instance at %s>" % (self.this,)
+class wxXmlProperty(wxXmlPropertyPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(xrcc.new_wxXmlProperty,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxXmlNodePtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self,xrcc=xrcc):
+ if self.thisown == 1 :
+ xrcc.delete_wxXmlNode(self)
+ def AddChild(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_AddChild,(self,) + _args, _kwargs)
+ return val
+ def InsertChild(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_InsertChild,(self,) + _args, _kwargs)
+ return val
+ def RemoveChild(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_RemoveChild,(self,) + _args, _kwargs)
+ return val
+ def AddProperty(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_AddProperty,(self,) + _args, _kwargs)
+ return val
+ def AddPropertyName(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_AddPropertyName,(self,) + _args, _kwargs)
+ return val
+ def DeleteProperty(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_DeleteProperty,(self,) + _args, _kwargs)
+ return val
+ def GetType(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_GetType,(self,) + _args, _kwargs)
+ return val
+ def GetName(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_GetName,(self,) + _args, _kwargs)
+ return val
+ def GetContent(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_GetContent,(self,) + _args, _kwargs)
+ return val
+ def GetParent(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_GetParent,(self,) + _args, _kwargs)
+ if val: val = wxXmlNodePtr(val)
+ return val
+ def GetNext(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_GetNext,(self,) + _args, _kwargs)
+ if val: val = wxXmlNodePtr(val)
+ return val
+ def GetChildren(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_GetChildren,(self,) + _args, _kwargs)
+ if val: val = wxXmlNodePtr(val)
+ return val
+ def GetProperties(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_GetProperties,(self,) + _args, _kwargs)
+ if val: val = wxXmlPropertyPtr(val)
+ return val
+ def GetPropVal(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_GetPropVal,(self,) + _args, _kwargs)
+ return val
+ def HasProp(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_HasProp,(self,) + _args, _kwargs)
+ return val
+ def SetType(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_SetType,(self,) + _args, _kwargs)
+ return val
+ def SetName(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_SetName,(self,) + _args, _kwargs)
+ return val
+ def SetContent(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_SetContent,(self,) + _args, _kwargs)
+ return val
+ def SetParent(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_SetParent,(self,) + _args, _kwargs)
+ return val
+ def SetNext(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_SetNext,(self,) + _args, _kwargs)
+ return val
+ def SetChildren(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_SetChildren,(self,) + _args, _kwargs)
+ return val
+ def SetProperties(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlNode_SetProperties,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxXmlNode instance at %s>" % (self.this,)
+class wxXmlNode(wxXmlNodePtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(xrcc.new_wxXmlNode,_args,_kwargs)
+ self.thisown = 1
+
+
+
+def wxXmlNodeEasy(*_args,**_kwargs):
+ val = wxXmlNodePtr(apply(xrcc.new_wxXmlNodeEasy,_args,_kwargs))
+ val.thisown = 1
+ return val
+
+
+class wxXmlDocumentPtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self,xrcc=xrcc):
+ if self.thisown == 1 :
+ xrcc.delete_wxXmlDocument(self)
+ def Load(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_Load,(self,) + _args, _kwargs)
+ return val
+ def LoadFromStream(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_LoadFromStream,(self,) + _args, _kwargs)
+ return val
+ def Save(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_Save,(self,) + _args, _kwargs)
+ return val
+ def SaveToStream(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_SaveToStream,(self,) + _args, _kwargs)
+ return val
+ def IsOk(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_IsOk,(self,) + _args, _kwargs)
+ return val
+ def GetRoot(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_GetRoot,(self,) + _args, _kwargs)
+ if val: val = wxXmlNodePtr(val)
+ return val
+ def GetVersion(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_GetVersion,(self,) + _args, _kwargs)
+ return val
+ def GetFileEncoding(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_GetFileEncoding,(self,) + _args, _kwargs)
+ return val
+ def SetRoot(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_SetRoot,(self,) + _args, _kwargs)
+ return val
+ def SetVersion(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_SetVersion,(self,) + _args, _kwargs)
+ return val
+ def SetFileEncoding(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_SetFileEncoding,(self,) + _args, _kwargs)
+ return val
+ def GetEncoding(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlDocument_GetEncoding,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxXmlDocument instance at %s>" % (self.this,)
+class wxXmlDocument(wxXmlDocumentPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(xrcc.new_wxXmlDocument,_args,_kwargs)
+ self.thisown = 1
+
+
+
+def wxXmlDocumentFromStream(*_args,**_kwargs):
+ val = wxXmlDocumentPtr(apply(xrcc.new_wxXmlDocumentFromStream,_args,_kwargs))
+ val.thisown = 1
+ return val
+
+def wxEmptyXmlDocument(*_args,**_kwargs):
+ val = wxXmlDocumentPtr(apply(xrcc.new_wxEmptyXmlDocument,_args,_kwargs))
+ val.thisown = 1
+ return val
+
+
+class wxXmlResourceHandlerPtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler__setCallbackInfo,(self,) + _args, _kwargs)
+ return val
+ def CreateResource(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_CreateResource,(self,) + _args, _kwargs)
+ return val
+ def SetParentResource(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_SetParentResource,(self,) + _args, _kwargs)
+ return val
+ def GetResource(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetResource,(self,) + _args, _kwargs)
+ if val: val = wxXmlResourcePtr(val)
+ return val
+ def GetNode(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetNode,(self,) + _args, _kwargs)
+ if val: val = wxXmlNodePtr(val)
+ return val
+ def GetClass(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetClass,(self,) + _args, _kwargs)
+ return val
+ def GetParent(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetParent,(self,) + _args, _kwargs)
+ return val
+ def GetInstance(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetInstance,(self,) + _args, _kwargs)
+ return val
+ def GetParentAsWindow(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetParentAsWindow,(self,) + _args, _kwargs)
+ return val
+ def GetInstanceAsWindow(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetInstanceAsWindow,(self,) + _args, _kwargs)
+ return val
+ def IsOfClass(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_IsOfClass,(self,) + _args, _kwargs)
+ return val
+ def GetNodeContent(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetNodeContent,(self,) + _args, _kwargs)
+ return val
+ def HasParam(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_HasParam,(self,) + _args, _kwargs)
+ return val
+ def GetParamNode(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetParamNode,(self,) + _args, _kwargs)
+ if val: val = wxXmlNodePtr(val)
+ return val
+ def GetParamValue(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetParamValue,(self,) + _args, _kwargs)
+ return val
+ def AddStyle(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_AddStyle,(self,) + _args, _kwargs)
+ return val
+ def AddWindowStyles(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_AddWindowStyles,(self,) + _args, _kwargs)
+ return val
+ def GetStyle(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetStyle,(self,) + _args, _kwargs)
+ return val
+ def GetText(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetText,(self,) + _args, _kwargs)
+ return val
+ def GetID(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetID,(self,) + _args, _kwargs)
+ return val
+ def GetName(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetName,(self,) + _args, _kwargs)
+ return val
+ def GetBool(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetBool,(self,) + _args, _kwargs)
+ return val
+ def GetLong(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetLong,(self,) + _args, _kwargs)
+ return val
+ def GetColour(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetColour,(self,) + _args, _kwargs)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
+ return val
+ def GetSize(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetSize,(self,) + _args, _kwargs)
+ if val: val = wxSizePtr(val) ; val.thisown = 1
+ return val
+ def GetPosition(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetPosition,(self,) + _args, _kwargs)
+ if val: val = wxPointPtr(val) ; val.thisown = 1
+ return val
+ def GetDimension(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetDimension,(self,) + _args, _kwargs)
+ return val
+ def GetBitmap(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetBitmap,(self,) + _args, _kwargs)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
+ return val
+ def GetIcon(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetIcon,(self,) + _args, _kwargs)
+ if val: val = wxIconPtr(val) ; val.thisown = 1
+ return val
+ def GetFont(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetFont,(self,) + _args, _kwargs)
+ if val: val = wxFontPtr(val) ; val.thisown = 1
+ return val
+ def SetupWindow(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_SetupWindow,(self,) + _args, _kwargs)
+ return val
+ def CreateChildren(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_CreateChildren,(self,) + _args, _kwargs)
+ return val
+ def CreateChildrenPrivately(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_CreateChildrenPrivately,(self,) + _args, _kwargs)
+ return val
+ def CreateResFromNode(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_CreateResFromNode,(self,) + _args, _kwargs)
+ return val
+ def GetCurFileSystem(self, *_args, **_kwargs):
+ val = apply(xrcc.wxXmlResourceHandler_GetCurFileSystem,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxXmlResourceHandler instance at %s>" % (self.this,)
+class wxXmlResourceHandler(wxXmlResourceHandlerPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(xrcc.new_wxXmlResourceHandler,_args,_kwargs)
+ self.thisown = 1
+ self._setCallbackInfo(self, wxXmlResourceHandler)
+
+
+
+