- def GetNextChild(self,arg0,arg1):
- val = controls2c.wxTreeCtrl_GetNextChild(self.this,arg0.this,arg1)
- return val
- def GetNextSibling(self,arg0):
- val = controls2c.wxTreeCtrl_GetNextSibling(self.this,arg0.this)
- val = wxTreeItemIdPtr(val)
- val.thisown = 1
- return val
- def GetPrevSibling(self,arg0):
- val = controls2c.wxTreeCtrl_GetPrevSibling(self.this,arg0.this)
- val = wxTreeItemIdPtr(val)
- val.thisown = 1
- return val
- def GetFirstVisibleItem(self):
- val = controls2c.wxTreeCtrl_GetFirstVisibleItem(self.this)
- val = wxTreeItemIdPtr(val)
- val.thisown = 1
- return val
- def GetNextVisible(self,arg0):
- val = controls2c.wxTreeCtrl_GetNextVisible(self.this,arg0.this)
- val = wxTreeItemIdPtr(val)
- val.thisown = 1
- return val
- def GetPrevVisible(self,arg0):
- val = controls2c.wxTreeCtrl_GetPrevVisible(self.this,arg0.this)
- val = wxTreeItemIdPtr(val)
- val.thisown = 1
- return val
- def AddRoot(self,arg0,*args):
- argl = map(None,args)
- try: argl[2] = argl[2].this
- except: pass
- args = tuple(argl)
- val = apply(controls2c.wxTreeCtrl_AddRoot,(self.this,arg0,)+args)
- val = wxTreeItemIdPtr(val)
- val.thisown = 1
- return val
- def PrependItem(self,arg0,arg1,*args):
- argl = map(None,args)
- try: argl[2] = argl[2].this
- except: pass
- args = tuple(argl)
- val = apply(controls2c.wxTreeCtrl_PrependItem,(self.this,arg0.this,arg1,)+args)
- val = wxTreeItemIdPtr(val)
- val.thisown = 1
- return val
- def InsertItem(self,arg0,arg1,arg2,*args):
- argl = map(None,args)
- try: argl[2] = argl[2].this
- except: pass
- args = tuple(argl)
- val = apply(controls2c.wxTreeCtrl_InsertItem,(self.this,arg0.this,arg1.this,arg2,)+args)
- val = wxTreeItemIdPtr(val)
- val.thisown = 1
- return val
- def AppendItem(self,arg0,arg1,*args):
- argl = map(None,args)
- try: argl[2] = argl[2].this
- except: pass
- args = tuple(argl)
- val = apply(controls2c.wxTreeCtrl_AppendItem,(self.this,arg0.this,arg1,)+args)
- val = wxTreeItemIdPtr(val)
- val.thisown = 1
- return val
- def Delete(self,arg0):
- val = controls2c.wxTreeCtrl_Delete(self.this,arg0.this)
- return val
- def DeleteChildren(self,arg0):
- val = controls2c.wxTreeCtrl_DeleteChildren(self.this,arg0.this)
- return val
- def DeleteAllItems(self):
- val = controls2c.wxTreeCtrl_DeleteAllItems(self.this)
- return val
- def Expand(self,arg0):
- val = controls2c.wxTreeCtrl_Expand(self.this,arg0.this)
- return val
- def Collapse(self,arg0):
- val = controls2c.wxTreeCtrl_Collapse(self.this,arg0.this)
- return val
- def CollapseAndReset(self,arg0):
- val = controls2c.wxTreeCtrl_CollapseAndReset(self.this,arg0.this)
- return val
- def Toggle(self,arg0):
- val = controls2c.wxTreeCtrl_Toggle(self.this,arg0.this)
- return val
- def Unselect(self):
- val = controls2c.wxTreeCtrl_Unselect(self.this)
- return val
- def SelectItem(self,arg0):
- val = controls2c.wxTreeCtrl_SelectItem(self.this,arg0.this)
- return val
- def EnsureVisible(self,arg0):
- val = controls2c.wxTreeCtrl_EnsureVisible(self.this,arg0.this)
- return val
- def ScrollTo(self,arg0):
- val = controls2c.wxTreeCtrl_ScrollTo(self.this,arg0.this)
- return val
- def EditLabel(self,arg0):
- val = controls2c.wxTreeCtrl_EditLabel(self.this,arg0.this)
- val = wxTextCtrlPtr(val)
- return val
- def GetEditControl(self):
- val = controls2c.wxTreeCtrl_GetEditControl(self.this)
- val = wxTextCtrlPtr(val)
- return val
- def EndEditLabel(self,arg0,*args):
- val = apply(controls2c.wxTreeCtrl_EndEditLabel,(self.this,arg0.this,)+args)
- return val
- def SetItemBold(self,arg0,*args):
- val = apply(controls2c.wxTreeCtrl_SetItemBold,(self.this,arg0.this,)+args)
- return val
- def IsBold(self,arg0):
- val = controls2c.wxTreeCtrl_IsBold(self.this,arg0.this)
- return val
- def HitTest(self,arg0):
- val = controls2c.wxTreeCtrl_HitTest(self.this,arg0.this)
- val = wxTreeItemIdPtr(val)
- val.thisown = 1
+ def GetItemParent(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetItemParent,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetSelections(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetSelections,(self,) + _args, _kwargs)
+ return val
+ def GetChildrenCount(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetChildrenCount,(self,) + _args, _kwargs)
+ return val
+ def GetFirstChild(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetFirstChild,(self,) + _args, _kwargs)
+ return val
+ def GetNextChild(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetNextChild,(self,) + _args, _kwargs)
+ return val
+ def GetNextSibling(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetNextSibling,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetPrevSibling(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetPrevSibling,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetFirstVisibleItem(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetFirstVisibleItem,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetNextVisible(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetNextVisible,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetPrevVisible(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetPrevVisible,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetLastChild(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_GetLastChild,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def AddRoot(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_AddRoot,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def PrependItem(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_PrependItem,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def InsertItem(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_InsertItem,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def AppendItem(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_AppendItem,(self,) + _args, _kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def Delete(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_Delete,(self,) + _args, _kwargs)
+ return val
+ def DeleteChildren(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_DeleteChildren,(self,) + _args, _kwargs)
+ return val
+ def DeleteAllItems(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_DeleteAllItems,(self,) + _args, _kwargs)
+ return val
+ def Expand(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_Expand,(self,) + _args, _kwargs)
+ return val
+ def Collapse(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_Collapse,(self,) + _args, _kwargs)
+ return val
+ def CollapseAndReset(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_CollapseAndReset,(self,) + _args, _kwargs)
+ return val
+ def Toggle(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_Toggle,(self,) + _args, _kwargs)
+ return val
+ def Unselect(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_Unselect,(self,) + _args, _kwargs)
+ return val
+ def UnselectAll(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_UnselectAll,(self,) + _args, _kwargs)
+ return val
+ def SelectItem(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_SelectItem,(self,) + _args, _kwargs)
+ return val
+ def EnsureVisible(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_EnsureVisible,(self,) + _args, _kwargs)
+ return val
+ def ScrollTo(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_ScrollTo,(self,) + _args, _kwargs)
+ return val
+ def EditLabel(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_EditLabel,(self,) + _args, _kwargs)
+ return val
+ def SortChildren(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_SortChildren,(self,) + _args, _kwargs)
+ return val
+ def SetItemBold(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_SetItemBold,(self,) + _args, _kwargs)
+ return val
+ def IsBold(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_IsBold,(self,) + _args, _kwargs)
+ return val
+ def HitTest(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_HitTest,(self,) + _args, _kwargs)
+ return val
+ def SetItemTextColour(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_SetItemTextColour,(self,) + _args, _kwargs)
+ return val
+ def SetItemBackgroundColour(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_SetItemBackgroundColour,(self,) + _args, _kwargs)
+ return val
+ def SetItemFont(self, *_args, **_kwargs):
+ val = apply(controls2c.wxTreeCtrl_SetItemFont,(self,) + _args, _kwargs)