- def __del__(self):
- if self.thisown == 1 :
- stattoolc.delete_wxToolBarTool(self.this)
- def __setattr__(self,name,value):
- if name == "m_toolStyle" :
- stattoolc.wxToolBarTool_m_toolStyle_set(self.this,value)
- return
- if name == "m_clientData" :
- stattoolc.wxToolBarTool_m_clientData_set(self.this,value)
- return
- if name == "m_index" :
- stattoolc.wxToolBarTool_m_index_set(self.this,value)
- return
- if name == "m_toggleState" :
- stattoolc.wxToolBarTool_m_toggleState_set(self.this,value)
- return
- if name == "m_isToggle" :
- stattoolc.wxToolBarTool_m_isToggle_set(self.this,value)
- return
- if name == "m_deleteSecondBitmap" :
- stattoolc.wxToolBarTool_m_deleteSecondBitmap_set(self.this,value)
- return
- if name == "m_enabled" :
- stattoolc.wxToolBarTool_m_enabled_set(self.this,value)
- return
- if name == "m_bitmap1" :
- stattoolc.wxToolBarTool_m_bitmap1_set(self.this,value.this)
- return
- if name == "m_bitmap2" :
- stattoolc.wxToolBarTool_m_bitmap2_set(self.this,value.this)
- return
- if name == "m_isMenuCommand" :
- stattoolc.wxToolBarTool_m_isMenuCommand_set(self.this,value)
- return
- if name == "m_shortHelpString" :
- stattoolc.wxToolBarTool_m_shortHelpString_set(self.this,value)
- return
- if name == "m_longHelpString" :
- stattoolc.wxToolBarTool_m_longHelpString_set(self.this,value)
- return
- self.__dict__[name] = value
- def __getattr__(self,name):
- if name == "m_toolStyle" :
- return stattoolc.wxToolBarTool_m_toolStyle_get(self.this)
- if name == "m_clientData" :
- return stattoolc.wxToolBarTool_m_clientData_get(self.this)
- if name == "m_index" :
- return stattoolc.wxToolBarTool_m_index_get(self.this)
- if name == "m_toggleState" :
- return stattoolc.wxToolBarTool_m_toggleState_get(self.this)
- if name == "m_isToggle" :
- return stattoolc.wxToolBarTool_m_isToggle_get(self.this)
- if name == "m_deleteSecondBitmap" :
- return stattoolc.wxToolBarTool_m_deleteSecondBitmap_get(self.this)
- if name == "m_enabled" :
- return stattoolc.wxToolBarTool_m_enabled_get(self.this)
- if name == "m_bitmap1" :
- return wxBitmapPtr(stattoolc.wxToolBarTool_m_bitmap1_get(self.this))
- if name == "m_bitmap2" :
- return wxBitmapPtr(stattoolc.wxToolBarTool_m_bitmap2_get(self.this))
- if name == "m_isMenuCommand" :
- return stattoolc.wxToolBarTool_m_isMenuCommand_get(self.this)
- if name == "m_shortHelpString" :
- return stattoolc.wxToolBarTool_m_shortHelpString_get(self.this)
- if name == "m_longHelpString" :
- return stattoolc.wxToolBarTool_m_longHelpString_get(self.this)
- raise AttributeError,name
+ def Destroy(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_Destroy,(self,) + _args, _kwargs)
+ return val
+ def GetId(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_GetId,(self,) + _args, _kwargs)
+ return val
+ def GetControl(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_GetControl,(self,) + _args, _kwargs)
+ if val: val = wxControlPtr(val)
+ return val
+ def GetToolBar(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_GetToolBar,(self,) + _args, _kwargs)
+ if val: val = wxToolBarBasePtr(val)
+ return val
+ def IsButton(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_IsButton,(self,) + _args, _kwargs)
+ return val
+ def IsControl(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_IsControl,(self,) + _args, _kwargs)
+ return val
+ def IsSeparator(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_IsSeparator,(self,) + _args, _kwargs)
+ return val
+ def GetStyle(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_GetStyle,(self,) + _args, _kwargs)
+ return val
+ def IsEnabled(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_IsEnabled,(self,) + _args, _kwargs)
+ return val
+ def IsToggled(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_IsToggled,(self,) + _args, _kwargs)
+ return val
+ def CanBeToggled(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_CanBeToggled,(self,) + _args, _kwargs)
+ return val
+ def GetBitmap1(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_GetBitmap1,(self,) + _args, _kwargs)
+ if val: val = wxBitmapPtr(val)
+ return val
+ def GetBitmap2(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_GetBitmap2,(self,) + _args, _kwargs)
+ if val: val = wxBitmapPtr(val)
+ return val
+ def GetBitmap(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_GetBitmap,(self,) + _args, _kwargs)
+ if val: val = wxBitmapPtr(val)
+ return val
+ def GetShortHelp(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_GetShortHelp,(self,) + _args, _kwargs)
+ return val
+ def GetLongHelp(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_GetLongHelp,(self,) + _args, _kwargs)
+ return val
+ def Enable(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_Enable,(self,) + _args, _kwargs)
+ return val
+ def Toggle(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_Toggle,(self,) + _args, _kwargs)
+ return val
+ def SetToggle(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_SetToggle,(self,) + _args, _kwargs)
+ return val
+ def SetShortHelp(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_SetShortHelp,(self,) + _args, _kwargs)
+ return val
+ def SetLongHelp(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_SetLongHelp,(self,) + _args, _kwargs)
+ return val
+ def SetBitmap1(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_SetBitmap1,(self,) + _args, _kwargs)
+ return val
+ def SetBitmap2(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_SetBitmap2,(self,) + _args, _kwargs)
+ return val
+ def Detach(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_Detach,(self,) + _args, _kwargs)
+ return val
+ def Attach(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_Attach,(self,) + _args, _kwargs)
+ return val
+ def GetClientData(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_GetClientData,(self,) + _args, _kwargs)
+ return val
+ def SetClientData(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBarToolBase_SetClientData,(self,) + _args, _kwargs)
+ return val