def Clear(self, *_args, **_kwargs):
val = apply(controlsc.wxChoice_Clear,(self,) + _args, _kwargs)
return val
+ def Delete(self, *_args, **_kwargs):
+ val = apply(controlsc.wxChoice_Delete,(self,) + _args, _kwargs)
+ return val
def FindString(self, *_args, **_kwargs):
val = apply(controlsc.wxChoice_FindString,(self,) + _args, _kwargs)
return val
def GetStringSelection(self, *_args, **_kwargs):
val = apply(controlsc.wxChoice_GetStringSelection,(self,) + _args, _kwargs)
return val
- def Number(self, *_args, **_kwargs):
- val = apply(controlsc.wxChoice_Number,(self,) + _args, _kwargs)
+ def GetCount(self, *_args, **_kwargs):
+ val = apply(controlsc.wxChoice_GetCount,(self,) + _args, _kwargs)
return val
def SetColumns(self, *_args, **_kwargs):
val = apply(controlsc.wxChoice_SetColumns,(self,) + _args, _kwargs)
def SetStringSelection(self, *_args, **_kwargs):
val = apply(controlsc.wxChoice_SetStringSelection,(self,) + _args, _kwargs)
return val
+ def SetString(self, *_args, **_kwargs):
+ val = apply(controlsc.wxChoice_SetString,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxChoice instance at %s>" % (self.this,)
+
+ Number = GetCount
+ Select = SetSelection
+
class wxChoice(wxChoicePtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(controlsc.new_wxChoice,_args,_kwargs)
def GetValue(self, *_args, **_kwargs):
val = apply(controlsc.wxComboBox_GetValue,(self,) + _args, _kwargs)
return val
- def Number(self, *_args, **_kwargs):
- val = apply(controlsc.wxComboBox_Number,(self,) + _args, _kwargs)
- return val
def Paste(self, *_args, **_kwargs):
val = apply(controlsc.wxComboBox_Paste,(self,) + _args, _kwargs)
return val
def SetValue(self, *_args, **_kwargs):
val = apply(controlsc.wxComboBox_SetValue,(self,) + _args, _kwargs)
return val
+ def SetEditable(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_SetEditable,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxComboBox instance at %s>" % (self.this,)
class wxComboBox(wxComboBoxPtr):
def GetStringSelection(self, *_args, **_kwargs):
val = apply(controlsc.wxListBox_GetStringSelection,(self,) + _args, _kwargs)
return val
- def Number(self, *_args, **_kwargs):
- val = apply(controlsc.wxListBox_Number,(self,) + _args, _kwargs)
+ def GetCount(self, *_args, **_kwargs):
+ val = apply(controlsc.wxListBox_GetCount,(self,) + _args, _kwargs)
+ return val
+ def IsSelected(self, *_args, **_kwargs):
+ val = apply(controlsc.wxListBox_IsSelected,(self,) + _args, _kwargs)
return val
def Selected(self, *_args, **_kwargs):
val = apply(controlsc.wxListBox_Selected,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxListBox instance at %s>" % (self.this,)
+ Number = GetCount
class wxListBox(wxListBoxPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(controlsc.new_wxListBox,_args,_kwargs)
+class wxTextAttrPtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self,controlsc=controlsc):
+ if self.thisown == 1 :
+ controlsc.delete_wxTextAttr(self)
+ def SetTextColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_SetTextColour,(self,) + _args, _kwargs)
+ return val
+ def SetBackgroundColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_SetBackgroundColour,(self,) + _args, _kwargs)
+ return val
+ def SetFont(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_SetFont,(self,) + _args, _kwargs)
+ return val
+ def HasTextColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_HasTextColour,(self,) + _args, _kwargs)
+ return val
+ def HasBackgroundColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_HasBackgroundColour,(self,) + _args, _kwargs)
+ return val
+ def HasFont(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_HasFont,(self,) + _args, _kwargs)
+ return val
+ def GetTextColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_GetTextColour,(self,) + _args, _kwargs)
+ if val: val = wxColourPtr(val)
+ return val
+ def GetBackgroundColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_GetBackgroundColour,(self,) + _args, _kwargs)
+ if val: val = wxColourPtr(val)
+ return val
+ def GetFont(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_GetFont,(self,) + _args, _kwargs)
+ if val: val = wxFontPtr(val)
+ return val
+ def __repr__(self):
+ return "<C wxTextAttr instance at %s>" % (self.this,)
+class wxTextAttr(wxTextAttrPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(controlsc.new_wxTextAttr,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
class wxTextCtrlPtr(wxControlPtr):
def __init__(self,this):
self.this = this
def Redo(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_Redo,(self,) + _args, _kwargs)
return val
+ def SetStyle(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_SetStyle,(self,) + _args, _kwargs)
+ return val
+ def SetDefaultStyle(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_SetDefaultStyle,(self,) + _args, _kwargs)
+ return val
+ def GetDefaultStyle(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_GetDefaultStyle,(self,) + _args, _kwargs)
+ if val: val = wxTextAttrPtr(val)
+ return val
def write(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_write,(self,) + _args, _kwargs)
return val
def FindString(self, *_args, **_kwargs):
val = apply(controlsc.wxRadioBox_FindString,(self,) + _args, _kwargs)
return val
+ def GetString(self, *_args, **_kwargs):
+ val = apply(controlsc.wxRadioBox_GetString,(self,) + _args, _kwargs)
+ return val
def GetItemLabel(self, *_args, **_kwargs):
val = apply(controlsc.wxRadioBox_GetItemLabel,(self,) + _args, _kwargs)
return val
+ def SetItemLabel(self, *_args, **_kwargs):
+ val = apply(controlsc.wxRadioBox_SetItemLabel,(self,) + _args, _kwargs)
+ return val
def GetSelection(self, *_args, **_kwargs):
val = apply(controlsc.wxRadioBox_GetSelection,(self,) + _args, _kwargs)
return val
- def GetString(self, *_args, **_kwargs):
- val = apply(controlsc.wxRadioBox_GetString,(self,) + _args, _kwargs)
- return val
def GetStringSelection(self, *_args, **_kwargs):
val = apply(controlsc.wxRadioBox_GetStringSelection,(self,) + _args, _kwargs)
return val
- def Number(self, *_args, **_kwargs):
- val = apply(controlsc.wxRadioBox_Number,(self,) + _args, _kwargs)
- return val
- def SetItemLabel(self, *_args, **_kwargs):
- val = apply(controlsc.wxRadioBox_SetItemLabel,(self,) + _args, _kwargs)
+ def GetCount(self, *_args, **_kwargs):
+ val = apply(controlsc.wxRadioBox_GetCount,(self,) + _args, _kwargs)
return val
def SetSelection(self, *_args, **_kwargs):
val = apply(controlsc.wxRadioBox_SetSelection,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxRadioBox instance at %s>" % (self.this,)
+ Number = GetCount
class wxRadioBox(wxRadioBoxPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(controlsc.new_wxRadioBox,_args,_kwargs)
def __init__(self,this):
self.this = this
self.thisown = 0
+ def GetMax(self, *_args, **_kwargs):
+ val = apply(controlsc.wxSpinCtrl_GetMax,(self,) + _args, _kwargs)
+ return val
+ def GetMin(self, *_args, **_kwargs):
+ val = apply(controlsc.wxSpinCtrl_GetMin,(self,) + _args, _kwargs)
+ return val
+ def GetValue(self, *_args, **_kwargs):
+ val = apply(controlsc.wxSpinCtrl_GetValue,(self,) + _args, _kwargs)
+ return val
+ def SetRange(self, *_args, **_kwargs):
+ val = apply(controlsc.wxSpinCtrl_SetRange,(self,) + _args, _kwargs)
+ return val
+ def SetValue(self, *_args, **_kwargs):
+ val = apply(controlsc.wxSpinCtrl_SetValue,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxSpinCtrl instance at %s>" % (self.this,)
class wxSpinCtrl(wxSpinCtrlPtr):
+class wxToggleButtonPtr(wxControlPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def SetValue(self, *_args, **_kwargs):
+ val = apply(controlsc.wxToggleButton_SetValue,(self,) + _args, _kwargs)
+ return val
+ def GetValue(self, *_args, **_kwargs):
+ val = apply(controlsc.wxToggleButton_GetValue,(self,) + _args, _kwargs)
+ return val
+ def SetLabel(self, *_args, **_kwargs):
+ val = apply(controlsc.wxToggleButton_SetLabel,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxToggleButton instance at %s>" % (self.this,)
+class wxToggleButton(wxToggleButtonPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(controlsc.new_wxToggleButton,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
#-------------- FUNCTION WRAPPERS ------------------
cvar = controlsc.cvar
wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator)
+wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = controlsc.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED