def __init__(self,this):
self.this = this
self.thisown = 0
- def CreateControl(self, *_args, **_kwargs):
- val = apply(controlsc.wxControl_CreateControl,(self,) + _args, _kwargs)
- return val
def Command(self, *_args, **_kwargs):
val = apply(controlsc.wxControl_Command,(self,) + _args, _kwargs)
return val
def SetDefault(self, *_args, **_kwargs):
val = apply(controlsc.wxButton_SetDefault,(self,) + _args, _kwargs)
return val
+ def SetBackgroundColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxButton_SetBackgroundColour,(self,) + _args, _kwargs)
+ return val
+ def SetForegroundColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxButton_SetForegroundColour,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxButton instance at %s>" % (self.this,)
class wxButton(wxButtonPtr):
def GetThumbSize(self, *_args, **_kwargs):
val = apply(controlsc.wxScrollBar_GetThumbSize,(self,) + _args, _kwargs)
return val
+ def GetThumbLength(self, *_args, **_kwargs):
+ val = apply(controlsc.wxScrollBar_GetThumbLength,(self,) + _args, _kwargs)
+ return val
def SetThumbPosition(self, *_args, **_kwargs):
val = apply(controlsc.wxScrollBar_SetThumbPosition,(self,) + _args, _kwargs)
return val