TE_HT_BEYOND = _controls_.TE_HT_BEYOND
OutOfRangeTextCoord = _controls_.OutOfRangeTextCoord
InvalidTextCoord = _controls_.InvalidTextCoord
+TEXT_TYPE_ANY = _controls_.TEXT_TYPE_ANY
class TextAttr(object):
"""Proxy of C++ TextAttr class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
"""SetValue(self, String value)"""
return _controls_.TextCtrl_SetValue(*args, **kwargs)
+ def IsEmpty(*args, **kwargs):
+ """IsEmpty(self) -> bool"""
+ return _controls_.TextCtrl_IsEmpty(*args, **kwargs)
+
+ def ChangeValue(*args, **kwargs):
+ """ChangeValue(self, String value)"""
+ return _controls_.TextCtrl_ChangeValue(*args, **kwargs)
+
def GetRange(*args, **kwargs):
"""GetRange(self, long from, long to) -> String"""
return _controls_.TextCtrl_GetRange(*args, **kwargs)
return _controls_.TextCtrl_Remove(*args, **kwargs)
def LoadFile(*args, **kwargs):
- """LoadFile(self, String file) -> bool"""
+ """LoadFile(self, String file, int fileType=TEXT_TYPE_ANY) -> bool"""
return _controls_.TextCtrl_LoadFile(*args, **kwargs)
def SaveFile(*args, **kwargs):
- """SaveFile(self, String file=EmptyString) -> bool"""
+ """SaveFile(self, String file=EmptyString, int fileType=TEXT_TYPE_ANY) -> bool"""
return _controls_.TextCtrl_SaveFile(*args, **kwargs)
def MarkDirty(*args, **kwargs):
"""SetEditable(self, bool editable)"""
return _controls_.TextCtrl_SetEditable(*args, **kwargs)
+ def SendTextUpdatedEvent(*args, **kwargs):
+ """SendTextUpdatedEvent(self)"""
+ return _controls_.TextCtrl_SendTextUpdatedEvent(*args, **kwargs)
+
def write(*args, **kwargs):
"""write(self, String text)"""
return _controls_.TextCtrl_write(*args, **kwargs)
"""SetSelection(self, size_t n) -> int"""
return _controls_.BookCtrlBase_SetSelection(*args, **kwargs)
+ def ChangeSelection(*args, **kwargs):
+ """ChangeSelection(self, size_t n) -> int"""
+ return _controls_.BookCtrlBase_ChangeSelection(*args, **kwargs)
+
def AdvanceSelection(*args, **kwargs):
"""AdvanceSelection(self, bool forward=True)"""
return _controls_.BookCtrlBase_AdvanceSelection(*args, **kwargs)
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ def SendPageChangingEvent(*args, **kwargs):
+ """SendPageChangingEvent(self, int nPage) -> bool"""
+ return _controls_.Notebook_SendPageChangingEvent(*args, **kwargs)
+
+ def SendPageChangedEvent(*args, **kwargs):
+ """SendPageChangedEvent(self, int nPageOld, int nPageNew=-1)"""
+ return _controls_.Notebook_SendPageChangedEvent(*args, **kwargs)
+
RowCount = property(GetRowCount,doc="See `GetRowCount`")
ThemeBackgroundColour = property(GetThemeBackgroundColour,doc="See `GetThemeBackgroundColour`")
_controls_.Notebook_swigregister(Notebook)
def Destroy(*args, **kwargs):
"""Destroy(self)"""
- val = _controls_.ListItemAttr_Destroy(*args, **kwargs)
- args[0].thisown = 0
- return val
+ args[0].this.own(False)
+ return _controls_.ListItemAttr_Destroy(*args, **kwargs)
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
def Destroy(*args, **kwargs):
"""Destroy(self)"""
- val = _controls_.TreeItemData_Destroy(*args, **kwargs)
- args[0].thisown = 0
- return val
+ args[0].this.own(False)
+ return _controls_.TreeItemData_Destroy(*args, **kwargs)
Data = property(GetData,SetData,doc="See `GetData` and `SetData`")
Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
def Destroy(*args, **kwargs):
"""Destroy(self)"""
- val = _controls_.HelpProvider_Destroy(*args, **kwargs)
- args[0].thisown = 0
- return val
+ args[0].this.own(False)
+ return _controls_.HelpProvider_Destroy(*args, **kwargs)
_controls_.HelpProvider_swigregister(HelpProvider)