__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=RE_MULTILINE) -> RichTextCtrl
+ __init__(self, Window parent, int id=-1, String value=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=RE_MULTILINE) -> RichTextCtrl
"""
_richtext.RichTextCtrl_swiginit(self,_richtext.new_RichTextCtrl(*args, **kwargs))
self._setOORInfo(self)
def Create(*args, **kwargs):
"""
- Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=RE_MULTILINE) -> bool
+ Create(self, Window parent, int id=-1, String value=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=RE_MULTILINE) -> bool
"""
return _richtext.RichTextCtrl_Create(*args, **kwargs)
SaveFile(self, String file=EmptyString, int type=RICHTEXT_TYPE_ANY) -> bool
Save the contents of the document to the given filename, or if the
- empty string is passed then to the filename set with `SetFileName`.
+ empty string is passed then to the filename set with `SetFilename`.
"""
return _richtext.RichTextCtrl_SaveFile(*args, **kwargs)
"""SetSelectionRange(self, RichTextRange range)"""
return _richtext.RichTextCtrl_SetSelectionRange(*args, **kwargs)
+ def GetInternalSelectionRange(*args, **kwargs):
+ """GetInternalSelectionRange(self) -> RichTextRange"""
+ return _richtext.RichTextCtrl_GetInternalSelectionRange(*args, **kwargs)
+
+ def SetInternalSelectionRange(*args, **kwargs):
+ """SetInternalSelectionRange(self, RichTextRange range)"""
+ return _richtext.RichTextCtrl_SetInternalSelectionRange(*args, **kwargs)
+
def AddParagraph(*args, **kwargs):
"""AddParagraph(self, String text) -> RichTextRange"""
return _richtext.RichTextCtrl_AddParagraph(*args, **kwargs)