return val
def GetBitmapLabel(self, *_args, **_kwargs):
val = apply(controlsc.wxBitmapButton_GetBitmapLabel,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def GetBitmapDisabled(self, *_args, **_kwargs):
val = apply(controlsc.wxBitmapButton_GetBitmapDisabled,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def GetBitmapFocus(self, *_args, **_kwargs):
val = apply(controlsc.wxBitmapButton_GetBitmapFocus,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def GetBitmapSelected(self, *_args, **_kwargs):
val = apply(controlsc.wxBitmapButton_GetBitmapSelected,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def SetBitmapDisabled(self, *_args, **_kwargs):
val = apply(controlsc.wxBitmapButton_SetBitmapDisabled,(self,) + _args, _kwargs)
return val
def GetTextColour(self, *_args, **_kwargs):
val = apply(controlsc.wxTextAttr_GetTextColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetBackgroundColour(self, *_args, **_kwargs):
val = apply(controlsc.wxTextAttr_GetBackgroundColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetFont(self, *_args, **_kwargs):
val = apply(controlsc.wxTextAttr_GetFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val)
+ if val: val = wxFontPtr(val) ; val.thisown = 1
+ return val
+ def IsDefault(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_IsDefault,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxTextAttr instance at %s>" % (self.this,)
def Create(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_Create,(self,) + _args, _kwargs)
return val
- def Clear(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_Clear,(self,) + _args, _kwargs)
- return val
- def Copy(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_Copy,(self,) + _args, _kwargs)
- return val
- def Cut(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_Cut,(self,) + _args, _kwargs)
- return val
- def DiscardEdits(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_DiscardEdits,(self,) + _args, _kwargs)
- return val
- def GetInsertionPoint(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_GetInsertionPoint,(self,) + _args, _kwargs)
+ def GetValue(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_GetValue,(self,) + _args, _kwargs)
return val
- def GetLastPosition(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_GetLastPosition,(self,) + _args, _kwargs)
+ def SetValue(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_SetValue,(self,) + _args, _kwargs)
return val
def GetLineLength(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_GetLineLength,(self,) + _args, _kwargs)
def GetNumberOfLines(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_GetNumberOfLines,(self,) + _args, _kwargs)
return val
- def GetValue(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_GetValue,(self,) + _args, _kwargs)
- return val
def IsModified(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_IsModified,(self,) + _args, _kwargs)
return val
- def LoadFile(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_LoadFile,(self,) + _args, _kwargs)
+ def IsEditable(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_IsEditable,(self,) + _args, _kwargs)
return val
- def Paste(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_Paste,(self,) + _args, _kwargs)
+ def GetSelection(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_GetSelection,(self,) + _args, _kwargs)
return val
- def PositionToXY(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_PositionToXY,(self,) + _args, _kwargs)
+ def GetStringSelection(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_GetStringSelection,(self,) + _args, _kwargs)
return val
- def Remove(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_Remove,(self,) + _args, _kwargs)
+ def Clear(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_Clear,(self,) + _args, _kwargs)
return val
def Replace(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_Replace,(self,) + _args, _kwargs)
return val
- def SaveFile(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_SaveFile,(self,) + _args, _kwargs)
- return val
- def SetEditable(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_SetEditable,(self,) + _args, _kwargs)
- return val
- def SetInsertionPoint(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_SetInsertionPoint,(self,) + _args, _kwargs)
+ def Remove(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_Remove,(self,) + _args, _kwargs)
return val
- def SetInsertionPointEnd(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_SetInsertionPointEnd,(self,) + _args, _kwargs)
+ def LoadFile(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_LoadFile,(self,) + _args, _kwargs)
return val
- def SetSelection(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_SetSelection,(self,) + _args, _kwargs)
+ def SaveFile(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_SaveFile,(self,) + _args, _kwargs)
return val
- def SetValue(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_SetValue,(self,) + _args, _kwargs)
+ def DiscardEdits(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_DiscardEdits,(self,) + _args, _kwargs)
return val
- def ShowPosition(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_ShowPosition,(self,) + _args, _kwargs)
+ def SetMaxLength(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_SetMaxLength,(self,) + _args, _kwargs)
return val
def WriteText(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_WriteText,(self,) + _args, _kwargs)
def AppendText(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_AppendText,(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 XYToPosition(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_XYToPosition,(self,) + _args, _kwargs)
return val
+ def PositionToXY(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_PositionToXY,(self,) + _args, _kwargs)
+ return val
+ def ShowPosition(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_ShowPosition,(self,) + _args, _kwargs)
+ return val
+ def Copy(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_Copy,(self,) + _args, _kwargs)
+ return val
+ def Cut(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_Cut,(self,) + _args, _kwargs)
+ return val
+ def Paste(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_Paste,(self,) + _args, _kwargs)
+ return val
def CanCopy(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_CanCopy,(self,) + _args, _kwargs)
return val
def CanPaste(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_CanPaste,(self,) + _args, _kwargs)
return val
- def CanRedo(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_CanRedo,(self,) + _args, _kwargs)
+ def Undo(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_Undo,(self,) + _args, _kwargs)
+ return val
+ def Redo(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_Redo,(self,) + _args, _kwargs)
return val
def CanUndo(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_CanUndo,(self,) + _args, _kwargs)
return val
- def GetSelection(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_GetSelection,(self,) + _args, _kwargs)
+ def CanRedo(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_CanRedo,(self,) + _args, _kwargs)
return val
- def IsEditable(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_IsEditable,(self,) + _args, _kwargs)
+ def SetInsertionPoint(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_SetInsertionPoint,(self,) + _args, _kwargs)
return val
- def Undo(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_Undo,(self,) + _args, _kwargs)
+ def SetInsertionPointEnd(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_SetInsertionPointEnd,(self,) + _args, _kwargs)
return val
- def Redo(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_Redo,(self,) + _args, _kwargs)
+ def GetInsertionPoint(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_GetInsertionPoint,(self,) + _args, _kwargs)
return val
- def SetStyle(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_SetStyle,(self,) + _args, _kwargs)
+ def GetLastPosition(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_GetLastPosition,(self,) + _args, _kwargs)
return val
- def SetDefaultStyle(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_SetDefaultStyle,(self,) + _args, _kwargs)
+ def SetSelection(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_SetSelection,(self,) + _args, _kwargs)
return val
- def GetDefaultStyle(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_GetDefaultStyle,(self,) + _args, _kwargs)
- if val: val = wxTextAttrPtr(val)
+ def SelectAll(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_SelectAll,(self,) + _args, _kwargs)
return val
- def SetMaxLength(self, *_args, **_kwargs):
- val = apply(controlsc.wxTextCtrl_SetMaxLength,(self,) + _args, _kwargs)
+ def SetEditable(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_SetEditable,(self,) + _args, _kwargs)
return val
def write(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_write,(self,) + _args, _kwargs)
return val
+ def GetString(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_GetString,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxTextCtrl instance at %s>" % (self.this,)
class wxTextCtrl(wxTextCtrlPtr):
def GetThumbLength(self, *_args, **_kwargs):
val = apply(controlsc.wxScrollBar_GetThumbLength,(self,) + _args, _kwargs)
return val
+ def IsVertical(self, *_args, **_kwargs):
+ val = apply(controlsc.wxScrollBar_IsVertical,(self,) + _args, _kwargs)
+ return val
def SetThumbPosition(self, *_args, **_kwargs):
val = apply(controlsc.wxScrollBar_SetThumbPosition,(self,) + _args, _kwargs)
return val
return val
def GetBitmap(self, *_args, **_kwargs):
val = apply(controlsc.wxStaticBitmap_GetBitmap,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def SetBitmap(self, *_args, **_kwargs):
val = apply(controlsc.wxStaticBitmap_SetBitmap,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val); val.thisown = 1
return val
+def wxTextAttr_Combine(*_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_Combine,_args,_kwargs)
+ if val: val = wxTextAttrPtr(val); val.thisown = 1
+ return val
+
#-------------- VARIABLE WRAPPERS ------------------