1 # This file was created automatically by SWIG 1.3.29. 
   2 # Don't modify this file, modify the SWIG interface instead. 
   6 new_instancemethod 
= new
.instancemethod
 
   7 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1): 
   8     if (name 
== "thisown"): return self
.this
.own(value
) 
  10         if type(value
).__name
__ == 'PySwigObject': 
  11             self
.__dict
__[name
] = value
 
  13     method 
= class_type
.__swig
_setmethods
__.get(name
,None) 
  14     if method
: return method(self
,value
) 
  15     if (not static
) or hasattr(self
,name
): 
  16         self
.__dict
__[name
] = value
 
  18         raise AttributeError("You cannot add attributes to %s" % self
) 
  20 def _swig_setattr(self
,class_type
,name
,value
): 
  21     return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0) 
  23 def _swig_getattr(self
,class_type
,name
): 
  24     if (name 
== "thisown"): return self
.this
.own() 
  25     method 
= class_type
.__swig
_getmethods
__.get(name
,None) 
  26     if method
: return method(self
) 
  27     raise AttributeError,name
 
  30     try: strthis 
= "proxy of " + self
.this
.__repr
__() 
  32     return "<%s.%s; %s >" % (self
.__class
__.__module
__, self
.__class
__.__name
__, strthis
,) 
  36     _object 
= types
.ObjectType
 
  38 except AttributeError: 
  44 def _swig_setattr_nondynamic_method(set): 
  45     def set_attr(self
,name
,value
): 
  46         if (name 
== "thisown"): return self
.this
.own(value
) 
  47         if hasattr(self
,name
) or (name 
== "this"): 
  50             raise AttributeError("You cannot add attributes to %s" % self
) 
  54 USE_TEXTATTREX 
= _richtext
.USE_TEXTATTREX
 
  58 __docfilter__ 
= wx
.__DocFilter
(globals())  
  59 RE_READONLY 
= _richtext
.RE_READONLY
 
  60 RE_MULTILINE 
= _richtext
.RE_MULTILINE
 
  61 RICHTEXT_SHIFT_DOWN 
= _richtext
.RICHTEXT_SHIFT_DOWN
 
  62 RICHTEXT_CTRL_DOWN 
= _richtext
.RICHTEXT_CTRL_DOWN
 
  63 RICHTEXT_ALT_DOWN 
= _richtext
.RICHTEXT_ALT_DOWN
 
  64 RICHTEXT_SELECTED 
= _richtext
.RICHTEXT_SELECTED
 
  65 RICHTEXT_TAGGED 
= _richtext
.RICHTEXT_TAGGED
 
  66 RICHTEXT_FOCUSSED 
= _richtext
.RICHTEXT_FOCUSSED
 
  67 RICHTEXT_IS_FOCUS 
= _richtext
.RICHTEXT_IS_FOCUS
 
  68 RICHTEXT_TYPE_ANY 
= _richtext
.RICHTEXT_TYPE_ANY
 
  69 RICHTEXT_TYPE_TEXT 
= _richtext
.RICHTEXT_TYPE_TEXT
 
  70 RICHTEXT_TYPE_XML 
= _richtext
.RICHTEXT_TYPE_XML
 
  71 RICHTEXT_TYPE_HTML 
= _richtext
.RICHTEXT_TYPE_HTML
 
  72 RICHTEXT_TYPE_RTF 
= _richtext
.RICHTEXT_TYPE_RTF
 
  73 RICHTEXT_TYPE_PDF 
= _richtext
.RICHTEXT_TYPE_PDF
 
  74 RICHTEXT_FIXED_WIDTH 
= _richtext
.RICHTEXT_FIXED_WIDTH
 
  75 RICHTEXT_FIXED_HEIGHT 
= _richtext
.RICHTEXT_FIXED_HEIGHT
 
  76 RICHTEXT_VARIABLE_WIDTH 
= _richtext
.RICHTEXT_VARIABLE_WIDTH
 
  77 RICHTEXT_VARIABLE_HEIGHT 
= _richtext
.RICHTEXT_VARIABLE_HEIGHT
 
  78 RICHTEXT_HITTEST_NONE 
= _richtext
.RICHTEXT_HITTEST_NONE
 
  79 RICHTEXT_HITTEST_BEFORE 
= _richtext
.RICHTEXT_HITTEST_BEFORE
 
  80 RICHTEXT_HITTEST_AFTER 
= _richtext
.RICHTEXT_HITTEST_AFTER
 
  81 RICHTEXT_HITTEST_ON 
= _richtext
.RICHTEXT_HITTEST_ON
 
  82 RICHTEXT_FORMATTED 
= _richtext
.RICHTEXT_FORMATTED
 
  83 RICHTEXT_UNFORMATTED 
= _richtext
.RICHTEXT_UNFORMATTED
 
  84 RICHTEXT_SETSTYLE_NONE 
= _richtext
.RICHTEXT_SETSTYLE_NONE
 
  85 RICHTEXT_SETSTYLE_WITH_UNDO 
= _richtext
.RICHTEXT_SETSTYLE_WITH_UNDO
 
  86 RICHTEXT_SETSTYLE_OPTIMIZE 
= _richtext
.RICHTEXT_SETSTYLE_OPTIMIZE
 
  87 RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY 
= _richtext
.RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY
 
  88 RICHTEXT_SETSTYLE_CHARACTERS_ONLY 
= _richtext
.RICHTEXT_SETSTYLE_CHARACTERS_ONLY
 
  89 RICHTEXT_INSERT_NONE 
= _richtext
.RICHTEXT_INSERT_NONE
 
  90 RICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE 
= _richtext
.RICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE
 
  91 TEXT_ATTR_TEXT_COLOUR 
= _richtext
.TEXT_ATTR_TEXT_COLOUR
 
  92 TEXT_ATTR_BACKGROUND_COLOUR 
= _richtext
.TEXT_ATTR_BACKGROUND_COLOUR
 
  93 TEXT_ATTR_FONT_FACE 
= _richtext
.TEXT_ATTR_FONT_FACE
 
  94 TEXT_ATTR_FONT_SIZE 
= _richtext
.TEXT_ATTR_FONT_SIZE
 
  95 TEXT_ATTR_FONT_WEIGHT 
= _richtext
.TEXT_ATTR_FONT_WEIGHT
 
  96 TEXT_ATTR_FONT_ITALIC 
= _richtext
.TEXT_ATTR_FONT_ITALIC
 
  97 TEXT_ATTR_FONT_UNDERLINE 
= _richtext
.TEXT_ATTR_FONT_UNDERLINE
 
  98 TEXT_ATTR_FONT 
= _richtext
.TEXT_ATTR_FONT
 
  99 TEXT_ATTR_ALIGNMENT 
= _richtext
.TEXT_ATTR_ALIGNMENT
 
 100 TEXT_ATTR_LEFT_INDENT 
= _richtext
.TEXT_ATTR_LEFT_INDENT
 
 101 TEXT_ATTR_RIGHT_INDENT 
= _richtext
.TEXT_ATTR_RIGHT_INDENT
 
 102 TEXT_ATTR_TABS 
= _richtext
.TEXT_ATTR_TABS
 
 103 TEXT_ATTR_PARA_SPACING_AFTER 
= _richtext
.TEXT_ATTR_PARA_SPACING_AFTER
 
 104 TEXT_ATTR_PARA_SPACING_BEFORE 
= _richtext
.TEXT_ATTR_PARA_SPACING_BEFORE
 
 105 TEXT_ATTR_LINE_SPACING 
= _richtext
.TEXT_ATTR_LINE_SPACING
 
 106 TEXT_ATTR_CHARACTER_STYLE_NAME 
= _richtext
.TEXT_ATTR_CHARACTER_STYLE_NAME
 
 107 TEXT_ATTR_PARAGRAPH_STYLE_NAME 
= _richtext
.TEXT_ATTR_PARAGRAPH_STYLE_NAME
 
 108 TEXT_ATTR_BULLET_STYLE 
= _richtext
.TEXT_ATTR_BULLET_STYLE
 
 109 TEXT_ATTR_BULLET_NUMBER 
= _richtext
.TEXT_ATTR_BULLET_NUMBER
 
 110 TEXT_ATTR_BULLET_STYLE_NONE 
= _richtext
.TEXT_ATTR_BULLET_STYLE_NONE
 
 111 TEXT_ATTR_BULLET_STYLE_ARABIC 
= _richtext
.TEXT_ATTR_BULLET_STYLE_ARABIC
 
 112 TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER 
= _richtext
.TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
 
 113 TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER 
= _richtext
.TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
 
 114 TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER 
= _richtext
.TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
 
 115 TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER 
= _richtext
.TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
 
 116 TEXT_ATTR_BULLET_STYLE_SYMBOL 
= _richtext
.TEXT_ATTR_BULLET_STYLE_SYMBOL
 
 117 TEXT_ATTR_BULLET_STYLE_BITMAP 
= _richtext
.TEXT_ATTR_BULLET_STYLE_BITMAP
 
 118 TEXT_ATTR_BULLET_STYLE_PARENTHESES 
= _richtext
.TEXT_ATTR_BULLET_STYLE_PARENTHESES
 
 119 TEXT_ATTR_BULLET_STYLE_PERIOD 
= _richtext
.TEXT_ATTR_BULLET_STYLE_PERIOD
 
 120 TEXT_ATTR_LINE_SPACING_NORMAL 
= _richtext
.TEXT_ATTR_LINE_SPACING_NORMAL
 
 121 TEXT_ATTR_LINE_SPACING_HALF 
= _richtext
.TEXT_ATTR_LINE_SPACING_HALF
 
 122 TEXT_ATTR_LINE_SPACING_TWICE 
= _richtext
.TEXT_ATTR_LINE_SPACING_TWICE
 
 123 TEXT_ALIGNMENT_DEFAULT 
= _richtext
.TEXT_ALIGNMENT_DEFAULT
 
 124 TEXT_ALIGNMENT_LEFT 
= _richtext
.TEXT_ALIGNMENT_LEFT
 
 125 TEXT_ALIGNMENT_CENTRE 
= _richtext
.TEXT_ALIGNMENT_CENTRE
 
 126 TEXT_ALIGNMENT_CENTER 
= _richtext
.TEXT_ALIGNMENT_CENTER
 
 127 TEXT_ALIGNMENT_RIGHT 
= _richtext
.TEXT_ALIGNMENT_RIGHT
 
 128 TEXT_ALIGNMENT_JUSTIFIED 
= _richtext
.TEXT_ALIGNMENT_JUSTIFIED
 
 129 class RichTextRange(object): 
 131     RichTextRange is a data structure that represents a range of text 
 132     within a `RichTextCtrl`.  It simply contains integer ``start`` and 
 133     ``end`` properties and a few operations useful for dealing with 
 134     ranges.  In most places in wxPython where a RichTextRange is expected a 
 135     2-tuple containing (start, end) can be used instead. 
 137     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 138     __repr__ 
= _swig_repr
 
 139     def __init__(self
, *args
, **kwargs
):  
 141         __init__(self, long start=0, long end=0) -> RichTextRange 
 143         Creates a new range object. 
 145         _richtext
.RichTextRange_swiginit(self
,_richtext
.new_RichTextRange(*args
, **kwargs
)) 
 146     __swig_destroy__ 
= _richtext
.delete_RichTextRange
 
 147     __del__ 
= lambda self 
: None; 
 148     def __eq__(*args
, **kwargs
): 
 150         __eq__(self, PyObject other) -> bool 
 152         Test for equality of RichTextRange objects. 
 154         return _richtext
.RichTextRange___eq__(*args
, **kwargs
) 
 156     def __sub__(*args
, **kwargs
): 
 157         """__sub__(self, RichTextRange range) -> RichTextRange""" 
 158         return _richtext
.RichTextRange___sub__(*args
, **kwargs
) 
 160     def __add__(*args
, **kwargs
): 
 161         """__add__(self, RichTextRange range) -> RichTextRange""" 
 162         return _richtext
.RichTextRange___add__(*args
, **kwargs
) 
 164     def SetRange(*args
, **kwargs
): 
 165         """SetRange(self, long start, long end)""" 
 166         return _richtext
.RichTextRange_SetRange(*args
, **kwargs
) 
 168     def SetStart(*args
, **kwargs
): 
 169         """SetStart(self, long start)""" 
 170         return _richtext
.RichTextRange_SetStart(*args
, **kwargs
) 
 172     def GetStart(*args
, **kwargs
): 
 173         """GetStart(self) -> long""" 
 174         return _richtext
.RichTextRange_GetStart(*args
, **kwargs
) 
 176     start 
= property(GetStart
, SetStart
)  
 177     def SetEnd(*args
, **kwargs
): 
 178         """SetEnd(self, long end)""" 
 179         return _richtext
.RichTextRange_SetEnd(*args
, **kwargs
) 
 181     def GetEnd(*args
, **kwargs
): 
 182         """GetEnd(self) -> long""" 
 183         return _richtext
.RichTextRange_GetEnd(*args
, **kwargs
) 
 185     end 
= property(GetEnd
, SetEnd
)  
 186     def IsOutside(*args
, **kwargs
): 
 188         IsOutside(self, RichTextRange range) -> bool 
 190         Returns true if this range is completely outside 'range' 
 192         return _richtext
.RichTextRange_IsOutside(*args
, **kwargs
) 
 194     def IsWithin(*args
, **kwargs
): 
 196         IsWithin(self, RichTextRange range) -> bool 
 198         Returns true if this range is completely within 'range' 
 200         return _richtext
.RichTextRange_IsWithin(*args
, **kwargs
) 
 202     def Contains(*args
, **kwargs
): 
 204         Contains(self, long pos) -> bool 
 206         Returns true if the given position is within this range. Allow for the 
 207         possibility of an empty range - assume the position is within this 
 210         return _richtext
.RichTextRange_Contains(*args
, **kwargs
) 
 212     def LimitTo(*args
, **kwargs
): 
 214         LimitTo(self, RichTextRange range) -> bool 
 216         Limit this range to be within 'range' 
 218         return _richtext
.RichTextRange_LimitTo(*args
, **kwargs
) 
 220     def GetLength(*args
, **kwargs
): 
 222         GetLength(self) -> long 
 224         Gets the length of the range 
 226         return _richtext
.RichTextRange_GetLength(*args
, **kwargs
) 
 228     def Swap(*args
, **kwargs
): 
 232         Swaps the start and end 
 234         return _richtext
.RichTextRange_Swap(*args
, **kwargs
) 
 236     def Get(*args
, **kwargs
): 
 240         Returns the start and end properties as a tuple. 
 242         return _richtext
.RichTextRange_Get(*args
, **kwargs
) 
 244     def __str__(self
):                   return str(self
.Get()) 
 245     def __repr__(self
):                  return 'RichTextRange'+str(self
.Get()) 
 246     def __len__(self
):                   return len(self
.Get()) 
 247     def __getitem__(self
, index
):        return self
.Get()[index
] 
 248     def __setitem__(self
, index
, val
): 
 249         if index 
== 0: self
.start 
= val
 
 250         elif index 
== 1: self
.end 
= val
 
 251         else: raise IndexError 
 252     def __nonzero__(self
):               return self
.Get() != (0,0) 
 253     __safe_for_unpickling__ 
= True 
 254     def __reduce__(self
):                return (RichTextRange
, self
.Get()) 
 256     End 
= property(GetEnd
,SetEnd
,doc
="See `GetEnd` and `SetEnd`")  
 257     Length 
= property(GetLength
,doc
="See `GetLength`")  
 258     Start 
= property(GetStart
,SetStart
,doc
="See `GetStart` and `SetStart`")  
 259 _richtext
.RichTextRange_swigregister(RichTextRange
) 
 261 class RichTextAttr(object): 
 263     The RichTextAttr class stored information about the various attributes 
 264     for a block of text, including font, colour, indents, alignments, and 
 267     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 268     __repr__ 
= _swig_repr
 
 269     def __init__(self
, *args
, **kwargs
):  
 271         __init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour,  
 272             int alignment=TEXT_ALIGNMENT_DEFAULT) -> RichTextAttr 
 274         The RichTextAttr class stored information about the various attributes 
 275         for a block of text, including font, colour, indents, alignments, and 
 278         _richtext
.RichTextAttr_swiginit(self
,_richtext
.new_RichTextAttr(*args
, **kwargs
)) 
 279     __swig_destroy__ 
= _richtext
.delete_RichTextAttr
 
 280     __del__ 
= lambda self 
: None; 
 281     def CreateFont(*args
, **kwargs
): 
 282         """CreateFont(self) -> Font""" 
 283         return _richtext
.RichTextAttr_CreateFont(*args
, **kwargs
) 
 285     def GetFontAttributes(*args
, **kwargs
): 
 286         """GetFontAttributes(self, Font font) -> bool""" 
 287         return _richtext
.RichTextAttr_GetFontAttributes(*args
, **kwargs
) 
 290         return self
.CreateFont() 
 291     def SetFont(self
, font
): 
 292         return self
.GetFontAttributes(font
) 
 294     def SetTextColour(*args
, **kwargs
): 
 295         """SetTextColour(self, Colour colText)""" 
 296         return _richtext
.RichTextAttr_SetTextColour(*args
, **kwargs
) 
 298     def SetBackgroundColour(*args
, **kwargs
): 
 299         """SetBackgroundColour(self, Colour colBack)""" 
 300         return _richtext
.RichTextAttr_SetBackgroundColour(*args
, **kwargs
) 
 302     def SetAlignment(*args
, **kwargs
): 
 303         """SetAlignment(self, int alignment)""" 
 304         return _richtext
.RichTextAttr_SetAlignment(*args
, **kwargs
) 
 306     def SetTabs(*args
, **kwargs
): 
 307         """SetTabs(self, wxArrayInt tabs)""" 
 308         return _richtext
.RichTextAttr_SetTabs(*args
, **kwargs
) 
 310     def SetLeftIndent(*args
, **kwargs
): 
 311         """SetLeftIndent(self, int indent, int subIndent=0)""" 
 312         return _richtext
.RichTextAttr_SetLeftIndent(*args
, **kwargs
) 
 314     def SetRightIndent(*args
, **kwargs
): 
 315         """SetRightIndent(self, int indent)""" 
 316         return _richtext
.RichTextAttr_SetRightIndent(*args
, **kwargs
) 
 318     def SetFontSize(*args
, **kwargs
): 
 319         """SetFontSize(self, int pointSize)""" 
 320         return _richtext
.RichTextAttr_SetFontSize(*args
, **kwargs
) 
 322     def SetFontStyle(*args
, **kwargs
): 
 323         """SetFontStyle(self, int fontStyle)""" 
 324         return _richtext
.RichTextAttr_SetFontStyle(*args
, **kwargs
) 
 326     def SetFontWeight(*args
, **kwargs
): 
 327         """SetFontWeight(self, int fontWeight)""" 
 328         return _richtext
.RichTextAttr_SetFontWeight(*args
, **kwargs
) 
 330     def SetFontFaceName(*args
, **kwargs
): 
 331         """SetFontFaceName(self, String faceName)""" 
 332         return _richtext
.RichTextAttr_SetFontFaceName(*args
, **kwargs
) 
 334     def SetFontUnderlined(*args
, **kwargs
): 
 335         """SetFontUnderlined(self, bool underlined)""" 
 336         return _richtext
.RichTextAttr_SetFontUnderlined(*args
, **kwargs
) 
 338     def SetFlags(*args
, **kwargs
): 
 339         """SetFlags(self, long flags)""" 
 340         return _richtext
.RichTextAttr_SetFlags(*args
, **kwargs
) 
 342     def SetCharacterStyleName(*args
, **kwargs
): 
 343         """SetCharacterStyleName(self, String name)""" 
 344         return _richtext
.RichTextAttr_SetCharacterStyleName(*args
, **kwargs
) 
 346     def SetParagraphStyleName(*args
, **kwargs
): 
 347         """SetParagraphStyleName(self, String name)""" 
 348         return _richtext
.RichTextAttr_SetParagraphStyleName(*args
, **kwargs
) 
 350     def SetParagraphSpacingAfter(*args
, **kwargs
): 
 351         """SetParagraphSpacingAfter(self, int spacing)""" 
 352         return _richtext
.RichTextAttr_SetParagraphSpacingAfter(*args
, **kwargs
) 
 354     def SetParagraphSpacingBefore(*args
, **kwargs
): 
 355         """SetParagraphSpacingBefore(self, int spacing)""" 
 356         return _richtext
.RichTextAttr_SetParagraphSpacingBefore(*args
, **kwargs
) 
 358     def SetLineSpacing(*args
, **kwargs
): 
 359         """SetLineSpacing(self, int spacing)""" 
 360         return _richtext
.RichTextAttr_SetLineSpacing(*args
, **kwargs
) 
 362     def SetBulletStyle(*args
, **kwargs
): 
 363         """SetBulletStyle(self, int style)""" 
 364         return _richtext
.RichTextAttr_SetBulletStyle(*args
, **kwargs
) 
 366     def SetBulletNumber(*args
, **kwargs
): 
 367         """SetBulletNumber(self, int n)""" 
 368         return _richtext
.RichTextAttr_SetBulletNumber(*args
, **kwargs
) 
 370     def SetBulletText(*args
, **kwargs
): 
 371         """SetBulletText(self, wxChar symbol)""" 
 372         return _richtext
.RichTextAttr_SetBulletText(*args
, **kwargs
) 
 374     def SetBulletFont(*args
, **kwargs
): 
 375         """SetBulletFont(self, String bulletFont)""" 
 376         return _richtext
.RichTextAttr_SetBulletFont(*args
, **kwargs
) 
 378     def GetTextColour(*args
, **kwargs
): 
 379         """GetTextColour(self) -> Colour""" 
 380         return _richtext
.RichTextAttr_GetTextColour(*args
, **kwargs
) 
 382     def GetBackgroundColour(*args
, **kwargs
): 
 383         """GetBackgroundColour(self) -> Colour""" 
 384         return _richtext
.RichTextAttr_GetBackgroundColour(*args
, **kwargs
) 
 386     def GetAlignment(*args
, **kwargs
): 
 387         """GetAlignment(self) -> int""" 
 388         return _richtext
.RichTextAttr_GetAlignment(*args
, **kwargs
) 
 390     def GetTabs(*args
, **kwargs
): 
 391         """GetTabs(self) -> wxArrayInt""" 
 392         return _richtext
.RichTextAttr_GetTabs(*args
, **kwargs
) 
 394     def GetLeftIndent(*args
, **kwargs
): 
 395         """GetLeftIndent(self) -> long""" 
 396         return _richtext
.RichTextAttr_GetLeftIndent(*args
, **kwargs
) 
 398     def GetLeftSubIndent(*args
, **kwargs
): 
 399         """GetLeftSubIndent(self) -> long""" 
 400         return _richtext
.RichTextAttr_GetLeftSubIndent(*args
, **kwargs
) 
 402     def GetRightIndent(*args
, **kwargs
): 
 403         """GetRightIndent(self) -> long""" 
 404         return _richtext
.RichTextAttr_GetRightIndent(*args
, **kwargs
) 
 406     def GetFlags(*args
, **kwargs
): 
 407         """GetFlags(self) -> long""" 
 408         return _richtext
.RichTextAttr_GetFlags(*args
, **kwargs
) 
 410     def GetFontSize(*args
, **kwargs
): 
 411         """GetFontSize(self) -> int""" 
 412         return _richtext
.RichTextAttr_GetFontSize(*args
, **kwargs
) 
 414     def GetFontStyle(*args
, **kwargs
): 
 415         """GetFontStyle(self) -> int""" 
 416         return _richtext
.RichTextAttr_GetFontStyle(*args
, **kwargs
) 
 418     def GetFontWeight(*args
, **kwargs
): 
 419         """GetFontWeight(self) -> int""" 
 420         return _richtext
.RichTextAttr_GetFontWeight(*args
, **kwargs
) 
 422     def GetFontUnderlined(*args
, **kwargs
): 
 423         """GetFontUnderlined(self) -> bool""" 
 424         return _richtext
.RichTextAttr_GetFontUnderlined(*args
, **kwargs
) 
 426     def GetFontFaceName(*args
, **kwargs
): 
 427         """GetFontFaceName(self) -> String""" 
 428         return _richtext
.RichTextAttr_GetFontFaceName(*args
, **kwargs
) 
 430     def GetCharacterStyleName(*args
, **kwargs
): 
 431         """GetCharacterStyleName(self) -> String""" 
 432         return _richtext
.RichTextAttr_GetCharacterStyleName(*args
, **kwargs
) 
 434     def GetParagraphStyleName(*args
, **kwargs
): 
 435         """GetParagraphStyleName(self) -> String""" 
 436         return _richtext
.RichTextAttr_GetParagraphStyleName(*args
, **kwargs
) 
 438     def GetParagraphSpacingAfter(*args
, **kwargs
): 
 439         """GetParagraphSpacingAfter(self) -> int""" 
 440         return _richtext
.RichTextAttr_GetParagraphSpacingAfter(*args
, **kwargs
) 
 442     def GetParagraphSpacingBefore(*args
, **kwargs
): 
 443         """GetParagraphSpacingBefore(self) -> int""" 
 444         return _richtext
.RichTextAttr_GetParagraphSpacingBefore(*args
, **kwargs
) 
 446     def GetLineSpacing(*args
, **kwargs
): 
 447         """GetLineSpacing(self) -> int""" 
 448         return _richtext
.RichTextAttr_GetLineSpacing(*args
, **kwargs
) 
 450     def GetBulletStyle(*args
, **kwargs
): 
 451         """GetBulletStyle(self) -> int""" 
 452         return _richtext
.RichTextAttr_GetBulletStyle(*args
, **kwargs
) 
 454     def GetBulletNumber(*args
, **kwargs
): 
 455         """GetBulletNumber(self) -> int""" 
 456         return _richtext
.RichTextAttr_GetBulletNumber(*args
, **kwargs
) 
 458     def GetBulletText(*args
, **kwargs
): 
 459         """GetBulletText(self) -> String""" 
 460         return _richtext
.RichTextAttr_GetBulletText(*args
, **kwargs
) 
 462     def GetBulletFont(*args
, **kwargs
): 
 463         """GetBulletFont(self) -> String""" 
 464         return _richtext
.RichTextAttr_GetBulletFont(*args
, **kwargs
) 
 466     def HasTextColour(*args
, **kwargs
): 
 467         """HasTextColour(self) -> bool""" 
 468         return _richtext
.RichTextAttr_HasTextColour(*args
, **kwargs
) 
 470     def HasBackgroundColour(*args
, **kwargs
): 
 471         """HasBackgroundColour(self) -> bool""" 
 472         return _richtext
.RichTextAttr_HasBackgroundColour(*args
, **kwargs
) 
 474     def HasAlignment(*args
, **kwargs
): 
 475         """HasAlignment(self) -> bool""" 
 476         return _richtext
.RichTextAttr_HasAlignment(*args
, **kwargs
) 
 478     def HasTabs(*args
, **kwargs
): 
 479         """HasTabs(self) -> bool""" 
 480         return _richtext
.RichTextAttr_HasTabs(*args
, **kwargs
) 
 482     def HasLeftIndent(*args
, **kwargs
): 
 483         """HasLeftIndent(self) -> bool""" 
 484         return _richtext
.RichTextAttr_HasLeftIndent(*args
, **kwargs
) 
 486     def HasRightIndent(*args
, **kwargs
): 
 487         """HasRightIndent(self) -> bool""" 
 488         return _richtext
.RichTextAttr_HasRightIndent(*args
, **kwargs
) 
 490     def HasFont(*args
, **kwargs
): 
 491         """HasFont(self) -> bool""" 
 492         return _richtext
.RichTextAttr_HasFont(*args
, **kwargs
) 
 494     def HasParagraphSpacingAfter(*args
, **kwargs
): 
 495         """HasParagraphSpacingAfter(self) -> bool""" 
 496         return _richtext
.RichTextAttr_HasParagraphSpacingAfter(*args
, **kwargs
) 
 498     def HasParagraphSpacingBefore(*args
, **kwargs
): 
 499         """HasParagraphSpacingBefore(self) -> bool""" 
 500         return _richtext
.RichTextAttr_HasParagraphSpacingBefore(*args
, **kwargs
) 
 502     def HasLineSpacing(*args
, **kwargs
): 
 503         """HasLineSpacing(self) -> bool""" 
 504         return _richtext
.RichTextAttr_HasLineSpacing(*args
, **kwargs
) 
 506     def HasCharacterStyleName(*args
, **kwargs
): 
 507         """HasCharacterStyleName(self) -> bool""" 
 508         return _richtext
.RichTextAttr_HasCharacterStyleName(*args
, **kwargs
) 
 510     def HasParagraphStyleName(*args
, **kwargs
): 
 511         """HasParagraphStyleName(self) -> bool""" 
 512         return _richtext
.RichTextAttr_HasParagraphStyleName(*args
, **kwargs
) 
 514     def HasBulletStyle(*args
, **kwargs
): 
 515         """HasBulletStyle(self) -> bool""" 
 516         return _richtext
.RichTextAttr_HasBulletStyle(*args
, **kwargs
) 
 518     def HasBulletNumber(*args
, **kwargs
): 
 519         """HasBulletNumber(self) -> bool""" 
 520         return _richtext
.RichTextAttr_HasBulletNumber(*args
, **kwargs
) 
 522     def HasBulletText(*args
, **kwargs
): 
 523         """HasBulletText(self) -> bool""" 
 524         return _richtext
.RichTextAttr_HasBulletText(*args
, **kwargs
) 
 526     def HasFlag(*args
, **kwargs
): 
 527         """HasFlag(self, long flag) -> bool""" 
 528         return _richtext
.RichTextAttr_HasFlag(*args
, **kwargs
) 
 530     def IsCharacterStyle(*args
, **kwargs
): 
 531         """IsCharacterStyle(self) -> bool""" 
 532         return _richtext
.RichTextAttr_IsCharacterStyle(*args
, **kwargs
) 
 534     def IsParagraphStyle(*args
, **kwargs
): 
 535         """IsParagraphStyle(self) -> bool""" 
 536         return _richtext
.RichTextAttr_IsParagraphStyle(*args
, **kwargs
) 
 538     def IsDefault(*args
, **kwargs
): 
 539         """IsDefault(self) -> bool""" 
 540         return _richtext
.RichTextAttr_IsDefault(*args
, **kwargs
) 
 542     Alignment 
= property(GetAlignment
,SetAlignment
,doc
="See `GetAlignment` and `SetAlignment`")  
 543     BackgroundColour 
= property(GetBackgroundColour
,SetBackgroundColour
,doc
="See `GetBackgroundColour` and `SetBackgroundColour`")  
 544     BulletFont 
= property(GetBulletFont
,SetBulletFont
,doc
="See `GetBulletFont` and `SetBulletFont`")  
 545     BulletNumber 
= property(GetBulletNumber
,SetBulletNumber
,doc
="See `GetBulletNumber` and `SetBulletNumber`")  
 546     BulletStyle 
= property(GetBulletStyle
,SetBulletStyle
,doc
="See `GetBulletStyle` and `SetBulletStyle`")  
 547     BulletText 
= property(GetBulletText
,SetBulletText
,doc
="See `GetBulletText` and `SetBulletText`")  
 548     CharacterStyleName 
= property(GetCharacterStyleName
,SetCharacterStyleName
,doc
="See `GetCharacterStyleName` and `SetCharacterStyleName`")  
 549     Flags 
= property(GetFlags
,SetFlags
,doc
="See `GetFlags` and `SetFlags`")  
 550     Font 
= property(GetFont
,SetFont
,doc
="See `GetFont` and `SetFont`")  
 551     FontAttributes 
= property(GetFontAttributes
,doc
="See `GetFontAttributes`")  
 552     FontFaceName 
= property(GetFontFaceName
,SetFontFaceName
,doc
="See `GetFontFaceName` and `SetFontFaceName`")  
 553     FontSize 
= property(GetFontSize
,SetFontSize
,doc
="See `GetFontSize` and `SetFontSize`")  
 554     FontStyle 
= property(GetFontStyle
,SetFontStyle
,doc
="See `GetFontStyle` and `SetFontStyle`")  
 555     FontUnderlined 
= property(GetFontUnderlined
,SetFontUnderlined
,doc
="See `GetFontUnderlined` and `SetFontUnderlined`")  
 556     FontWeight 
= property(GetFontWeight
,SetFontWeight
,doc
="See `GetFontWeight` and `SetFontWeight`")  
 557     LeftIndent 
= property(GetLeftIndent
,SetLeftIndent
,doc
="See `GetLeftIndent` and `SetLeftIndent`")  
 558     LeftSubIndent 
= property(GetLeftSubIndent
,doc
="See `GetLeftSubIndent`")  
 559     LineSpacing 
= property(GetLineSpacing
,SetLineSpacing
,doc
="See `GetLineSpacing` and `SetLineSpacing`")  
 560     ParagraphSpacingAfter 
= property(GetParagraphSpacingAfter
,SetParagraphSpacingAfter
,doc
="See `GetParagraphSpacingAfter` and `SetParagraphSpacingAfter`")  
 561     ParagraphSpacingBefore 
= property(GetParagraphSpacingBefore
,SetParagraphSpacingBefore
,doc
="See `GetParagraphSpacingBefore` and `SetParagraphSpacingBefore`")  
 562     ParagraphStyleName 
= property(GetParagraphStyleName
,SetParagraphStyleName
,doc
="See `GetParagraphStyleName` and `SetParagraphStyleName`")  
 563     RightIndent 
= property(GetRightIndent
,SetRightIndent
,doc
="See `GetRightIndent` and `SetRightIndent`")  
 564     Tabs 
= property(GetTabs
,SetTabs
,doc
="See `GetTabs` and `SetTabs`")  
 565     TextColour 
= property(GetTextColour
,SetTextColour
,doc
="See `GetTextColour` and `SetTextColour`")  
 566 _richtext
.RichTextAttr_swigregister(RichTextAttr
) 
 567 cvar 
= _richtext
.cvar
 
 568 RICHTEXT_ALL 
= cvar
.RICHTEXT_ALL
 
 569 RICHTEXT_NONE 
= cvar
.RICHTEXT_NONE
 
 571 TEXT_ATTR_CHARACTER 
= _richtext
.TEXT_ATTR_CHARACTER
 
 572 TEXT_ATTR_PARAGRAPH 
= _richtext
.TEXT_ATTR_PARAGRAPH
 
 573 TEXT_ATTR_ALL 
= _richtext
.TEXT_ATTR_ALL
 
 574 class RichTextCtrl(_windows
.ScrolledWindow
): 
 575     """Proxy of C++ RichTextCtrl class""" 
 576     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 577     __repr__ 
= _swig_repr
 
 578     def __init__(self
, *args
, **kwargs
):  
 580         __init__(self, Window parent, int id=-1, String value=EmptyString,  
 581             Point pos=DefaultPosition, Size size=DefaultSize,  
 582             long style=RE_MULTILINE) -> RichTextCtrl 
 584         _richtext
.RichTextCtrl_swiginit(self
,_richtext
.new_RichTextCtrl(*args
, **kwargs
)) 
 585         self
._setOORInfo
(self
) 
 587     def Create(*args
, **kwargs
): 
 589         Create(self, Window parent, int id=-1, String value=EmptyString,  
 590             Point pos=DefaultPosition, Size size=DefaultSize,  
 591             long style=RE_MULTILINE) -> bool 
 593         return _richtext
.RichTextCtrl_Create(*args
, **kwargs
) 
 595     def GetValue(*args
, **kwargs
): 
 596         """GetValue(self) -> String""" 
 597         return _richtext
.RichTextCtrl_GetValue(*args
, **kwargs
) 
 599     def SetValue(*args
, **kwargs
): 
 600         """SetValue(self, String value)""" 
 601         return _richtext
.RichTextCtrl_SetValue(*args
, **kwargs
) 
 603     def GetRange(*args
, **kwargs
): 
 604         """GetRange(self, long from, long to) -> String""" 
 605         return _richtext
.RichTextCtrl_GetRange(*args
, **kwargs
) 
 607     def GetLineLength(*args
, **kwargs
): 
 608         """GetLineLength(self, long lineNo) -> int""" 
 609         return _richtext
.RichTextCtrl_GetLineLength(*args
, **kwargs
) 
 611     def GetLineText(*args
, **kwargs
): 
 612         """GetLineText(self, long lineNo) -> String""" 
 613         return _richtext
.RichTextCtrl_GetLineText(*args
, **kwargs
) 
 615     def GetNumberOfLines(*args
, **kwargs
): 
 616         """GetNumberOfLines(self) -> int""" 
 617         return _richtext
.RichTextCtrl_GetNumberOfLines(*args
, **kwargs
) 
 619     def IsModified(*args
, **kwargs
): 
 620         """IsModified(self) -> bool""" 
 621         return _richtext
.RichTextCtrl_IsModified(*args
, **kwargs
) 
 623     def IsEditable(*args
, **kwargs
): 
 624         """IsEditable(self) -> bool""" 
 625         return _richtext
.RichTextCtrl_IsEditable(*args
, **kwargs
) 
 627     def IsSingleLine(*args
, **kwargs
): 
 628         """IsSingleLine(self) -> bool""" 
 629         return _richtext
.RichTextCtrl_IsSingleLine(*args
, **kwargs
) 
 631     def IsMultiLine(*args
, **kwargs
): 
 632         """IsMultiLine(self) -> bool""" 
 633         return _richtext
.RichTextCtrl_IsMultiLine(*args
, **kwargs
) 
 635     def GetSelection(*args
, **kwargs
): 
 637         GetSelection() --> (start, end) 
 639         Returns the start and end positions of the current selection.  If the 
 640         values are the same then there is no selection. 
 642         return _richtext
.RichTextCtrl_GetSelection(*args
, **kwargs
) 
 644     def GetStringSelection(*args
, **kwargs
): 
 645         """GetStringSelection(self) -> String""" 
 646         return _richtext
.RichTextCtrl_GetStringSelection(*args
, **kwargs
) 
 648     def GetFilename(*args
, **kwargs
): 
 649         """GetFilename(self) -> String""" 
 650         return _richtext
.RichTextCtrl_GetFilename(*args
, **kwargs
) 
 652     def SetFilename(*args
, **kwargs
): 
 653         """SetFilename(self, String filename)""" 
 654         return _richtext
.RichTextCtrl_SetFilename(*args
, **kwargs
) 
 656     def SetDelayedLayoutThreshold(*args
, **kwargs
): 
 658         SetDelayedLayoutThreshold(self, long threshold) 
 660         Set the threshold in character positions for doing layout optimization 
 663         return _richtext
.RichTextCtrl_SetDelayedLayoutThreshold(*args
, **kwargs
) 
 665     def GetDelayedLayoutThreshold(*args
, **kwargs
): 
 667         GetDelayedLayoutThreshold(self) -> long 
 669         Get the threshold in character positions for doing layout optimization 
 672         return _richtext
.RichTextCtrl_GetDelayedLayoutThreshold(*args
, **kwargs
) 
 674     def Clear(*args
, **kwargs
): 
 676         return _richtext
.RichTextCtrl_Clear(*args
, **kwargs
) 
 678     def Replace(*args
, **kwargs
): 
 679         """Replace(self, long from, long to, String value)""" 
 680         return _richtext
.RichTextCtrl_Replace(*args
, **kwargs
) 
 682     def Remove(*args
, **kwargs
): 
 683         """Remove(self, long from, long to)""" 
 684         return _richtext
.RichTextCtrl_Remove(*args
, **kwargs
) 
 686     def LoadFile(*args
, **kwargs
): 
 688         LoadFile(self, String file, int type=RICHTEXT_TYPE_ANY) -> bool 
 690         Load the contents of the document from the given filename. 
 692         return _richtext
.RichTextCtrl_LoadFile(*args
, **kwargs
) 
 694     def SaveFile(*args
, **kwargs
): 
 696         SaveFile(self, String file=EmptyString, int type=RICHTEXT_TYPE_ANY) -> bool 
 698         Save the contents of the document to the given filename, or if the 
 699         empty string is passed then to the filename set with `SetFilename`. 
 701         return _richtext
.RichTextCtrl_SaveFile(*args
, **kwargs
) 
 703     def SetHandlerFlags(*args
, **kwargs
): 
 705         SetHandlerFlags(self, int flags) 
 707         Set the handler flags, controlling loading and saving. 
 709         return _richtext
.RichTextCtrl_SetHandlerFlags(*args
, **kwargs
) 
 711     def GetHandlerFlags(*args
, **kwargs
): 
 713         GetHandlerFlags(self) -> int 
 715         Get the handler flags, controlling loading and saving. 
 717         return _richtext
.RichTextCtrl_GetHandlerFlags(*args
, **kwargs
) 
 719     def MarkDirty(*args
, **kwargs
): 
 723         Sets the dirty flag, meaning that the contents of the control have 
 724         changed and need to be saved. 
 726         return _richtext
.RichTextCtrl_MarkDirty(*args
, **kwargs
) 
 728     def DiscardEdits(*args
, **kwargs
): 
 732         Clears the dirty flag. 
 735         return _richtext
.RichTextCtrl_DiscardEdits(*args
, **kwargs
) 
 737     def SetMaxLength(*args
, **kwargs
): 
 739         SetMaxLength(self, unsigned long len) 
 741         Set the max number of characters which may be entered in a single line 
 744         return _richtext
.RichTextCtrl_SetMaxLength(*args
, **kwargs
) 
 746     def WriteText(*args
, **kwargs
): 
 748         WriteText(self, String text) 
 750         Insert text at the current position. 
 752         return _richtext
.RichTextCtrl_WriteText(*args
, **kwargs
) 
 754     def AppendText(*args
, **kwargs
): 
 756         AppendText(self, String text) 
 758         Append text to the end of the document. 
 760         return _richtext
.RichTextCtrl_AppendText(*args
, **kwargs
) 
 762     def SetStyle(*args
, **kwargs
): 
 764         SetStyle(self, RichTextRange range, RichTextAttr style) -> bool 
 766         Set the style for the text in ``range`` to ``style`` 
 768         return _richtext
.RichTextCtrl_SetStyle(*args
, **kwargs
) 
 770     def SetStyleEx(*args
, **kwargs
): 
 772         SetStyleEx(self, RichTextRange range, RichTextAttr style, int flags=RICHTEXT_SETSTYLE_WITH_UNDO) -> bool 
 774         Extended style setting operation with flags including: 
 775         RICHTEXT_SETSTYLE_WITH_UNDO, RICHTEXT_SETSTYLE_OPTIMIZE, 
 776         RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY, RICHTEXT_SETSTYLE_CHARACTERS_ONLY 
 778         return _richtext
.RichTextCtrl_SetStyleEx(*args
, **kwargs
) 
 780     def GetStyle(*args
, **kwargs
): 
 782         GetStyle(self, long position, RichTextAttr style) -> bool 
 784         Retrieve the style used at the given position.  Copies the style 
 785         values at ``position`` into the ``style`` parameter and returns ``True`` 
 786         if successful.  Returns ``False`` otherwise. 
 788         return _richtext
.RichTextCtrl_GetStyle(*args
, **kwargs
) 
 790     def GetUncombinedStyle(*args
, **kwargs
): 
 792         GetUncombinedStyle(self, long position, RichTextAttr style) -> bool 
 794         Get the content (uncombined) attributes for this position.  Copies the 
 795         style values at ``position`` into the ``style`` parameter and returns 
 796         ``True`` if successful.  Returns ``False`` otherwise. 
 798         return _richtext
.RichTextCtrl_GetUncombinedStyle(*args
, **kwargs
) 
 800     def SetDefaultStyle(*args
, **kwargs
): 
 802         SetDefaultStyle(self, RichTextAttr style) -> bool 
 804         Set the style used by default for the rich text document. 
 806         return _richtext
.RichTextCtrl_SetDefaultStyle(*args
, **kwargs
) 
 808     def GetDefaultStyle(*args
, **kwargs
): 
 810         GetDefaultStyle(self) -> RichTextAttr 
 812         Retrieves a copy of the default style object. 
 814         return _richtext
.RichTextCtrl_GetDefaultStyle(*args
, **kwargs
) 
 816     def XYToPosition(*args
, **kwargs
): 
 818         XYToPosition(self, long x, long y) -> long 
 820         Translate a col,row coordinants into a document position. 
 822         return _richtext
.RichTextCtrl_XYToPosition(*args
, **kwargs
) 
 824     def PositionToXY(*args
, **kwargs
): 
 826         PositionToXY(self, long pos) --> (x, y) 
 828         Retrieves the col,row for the given position within the document 
 830         return _richtext
.RichTextCtrl_PositionToXY(*args
, **kwargs
) 
 832     def ShowPosition(*args
, **kwargs
): 
 834         ShowPosition(self, long position) 
 836         Ensure that the given position in the document is visible. 
 838         return _richtext
.RichTextCtrl_ShowPosition(*args
, **kwargs
) 
 840     def HitTest(*args
, **kwargs
): 
 842         HitTest(self, Point pt) --> (result, pos) 
 844         Returns the character position at the given point in pixels.  Note 
 845         that ``pt`` should be given in device coordinates, and not be adjusted 
 846         for the client area origin nor for scrolling.  The return value is a 
 847         tuple of the hit test result and the position. 
 849         return _richtext
.RichTextCtrl_HitTest(*args
, **kwargs
) 
 851     def HitTestXY(*args
, **kwargs
): 
 853         HitTestRC(self, Point pt) --> (result, col, row) 
 855         Returns the column and row of the given point in pixels.  Note that 
 856         ``pt`` should be given in device coordinates, and not be adjusted for 
 857         the client area origin nor for scrolling.  The return value is a tuple 
 858         of the hit test result and the column and row values. 
 860         return _richtext
.RichTextCtrl_HitTestXY(*args
, **kwargs
) 
 862     def Copy(*args
, **kwargs
): 
 866         Copies the selected text to the clipboard. 
 868         return _richtext
.RichTextCtrl_Copy(*args
, **kwargs
) 
 870     def Cut(*args
, **kwargs
): 
 874         Copies the selected text to the clipboard and removes the selection. 
 876         return _richtext
.RichTextCtrl_Cut(*args
, **kwargs
) 
 878     def Paste(*args
, **kwargs
): 
 882         Pastes text from the clipboard into the document at the current 
 885         return _richtext
.RichTextCtrl_Paste(*args
, **kwargs
) 
 887     def DeleteSelection(*args
, **kwargs
): 
 889         DeleteSelection(self) 
 891         Remove the current selection. 
 893         return _richtext
.RichTextCtrl_DeleteSelection(*args
, **kwargs
) 
 895     def CanCopy(*args
, **kwargs
): 
 897         CanCopy(self) -> bool 
 899         Returns ``True`` if the selection can be copied to the clipboard. 
 901         return _richtext
.RichTextCtrl_CanCopy(*args
, **kwargs
) 
 903     def CanCut(*args
, **kwargs
): 
 907         Returns ``True`` if the selection can be cut to the clipboard. 
 909         return _richtext
.RichTextCtrl_CanCut(*args
, **kwargs
) 
 911     def CanPaste(*args
, **kwargs
): 
 913         CanPaste(self) -> bool 
 915         Returns ``True`` if the current contents of the clipboard can be 
 916         pasted into the document. 
 918         return _richtext
.RichTextCtrl_CanPaste(*args
, **kwargs
) 
 920     def CanDeleteSelection(*args
, **kwargs
): 
 922         CanDeleteSelection(self) -> bool 
 924         Returns ``True`` if the selection can be removed from the document. 
 926         return _richtext
.RichTextCtrl_CanDeleteSelection(*args
, **kwargs
) 
 928     def Undo(*args
, **kwargs
): 
 932         If the last operation can be undone, undoes the last operation. 
 934         return _richtext
.RichTextCtrl_Undo(*args
, **kwargs
) 
 936     def Redo(*args
, **kwargs
): 
 940         If the last operation can be redone, redoes the last operation. 
 942         return _richtext
.RichTextCtrl_Redo(*args
, **kwargs
) 
 944     def CanUndo(*args
, **kwargs
): 
 946         CanUndo(self) -> bool 
 948         Returns ``True`` if the last operation can be undone. 
 950         return _richtext
.RichTextCtrl_CanUndo(*args
, **kwargs
) 
 952     def CanRedo(*args
, **kwargs
): 
 954         CanRedo(self) -> bool 
 956         Returns ``True`` if the last operation can be redone. 
 958         return _richtext
.RichTextCtrl_CanRedo(*args
, **kwargs
) 
 960     def SetInsertionPoint(*args
, **kwargs
): 
 962         SetInsertionPoint(self, long pos) 
 964         Sets the insertion point at the given position. 
 966         return _richtext
.RichTextCtrl_SetInsertionPoint(*args
, **kwargs
) 
 968     def SetInsertionPointEnd(*args
, **kwargs
): 
 970         SetInsertionPointEnd(self) 
 972         Moves the insertion point to the end of the document. 
 974         return _richtext
.RichTextCtrl_SetInsertionPointEnd(*args
, **kwargs
) 
 976     def GetInsertionPoint(*args
, **kwargs
): 
 978         GetInsertionPoint(self) -> long 
 980         Returns the insertion point. This is defined as the zero based index 
 981         of the character position to the right of the insertion point. 
 983         return _richtext
.RichTextCtrl_GetInsertionPoint(*args
, **kwargs
) 
 985     def GetLastPosition(*args
, **kwargs
): 
 987         GetLastPosition(self) -> long 
 989         Returns the zero based index of the last position in the document. 
 991         return _richtext
.RichTextCtrl_GetLastPosition(*args
, **kwargs
) 
 993     def SetSelection(*args
, **kwargs
): 
 995         SetSelection(self, long from, long to) 
 997         Selects the text starting at the first position up to (but not 
 998         including) the character at the last position. If both parameters are 
 999         equal to -1 then all text in the control is selected. 
1001         return _richtext
.RichTextCtrl_SetSelection(*args
, **kwargs
) 
1003     def SelectAll(*args
, **kwargs
): 
1007         Select all text in the document. 
1009         return _richtext
.RichTextCtrl_SelectAll(*args
, **kwargs
) 
1011     def SetEditable(*args
, **kwargs
): 
1013         SetEditable(self, bool editable) 
1015         Makes the document editable or read-only, overriding the RE_READONLY 
1018         return _richtext
.RichTextCtrl_SetEditable(*args
, **kwargs
) 
1020     def HasSelection(*args
, **kwargs
): 
1021         """HasSelection(self) -> bool""" 
1022         return _richtext
.RichTextCtrl_HasSelection(*args
, **kwargs
) 
1024     def WriteImage(*args
, **kwargs
): 
1025         """WriteImage(self, Image image, int bitmapType=BITMAP_TYPE_PNG) -> bool""" 
1026         return _richtext
.RichTextCtrl_WriteImage(*args
, **kwargs
) 
1028     def WriteBitmap(*args
, **kwargs
): 
1029         """WriteBitmap(self, Bitmap bitmap, int bitmapType=BITMAP_TYPE_PNG) -> bool""" 
1030         return _richtext
.RichTextCtrl_WriteBitmap(*args
, **kwargs
) 
1032     def WriteImageFile(*args
, **kwargs
): 
1033         """WriteImageFile(self, String filename, int bitmapType) -> bool""" 
1034         return _richtext
.RichTextCtrl_WriteImageFile(*args
, **kwargs
) 
1036     def WriteImageBlock(*args
, **kwargs
): 
1037         """WriteImageBlock(self, wxRichTextImageBlock imageBlock) -> bool""" 
1038         return _richtext
.RichTextCtrl_WriteImageBlock(*args
, **kwargs
) 
1040     def Newline(*args
, **kwargs
): 
1041         """Newline(self) -> bool""" 
1042         return _richtext
.RichTextCtrl_Newline(*args
, **kwargs
) 
1044     def SetBasicStyle(*args
, **kwargs
): 
1045         """SetBasicStyle(self, RichTextAttr style)""" 
1046         return _richtext
.RichTextCtrl_SetBasicStyle(*args
, **kwargs
) 
1048     def EndStyle(*args
, **kwargs
): 
1049         """EndStyle(self) -> bool""" 
1050         return _richtext
.RichTextCtrl_EndStyle(*args
, **kwargs
) 
1052     def EndAllStyles(*args
, **kwargs
): 
1053         """EndAllStyles(self) -> bool""" 
1054         return _richtext
.RichTextCtrl_EndAllStyles(*args
, **kwargs
) 
1056     def BeginBold(*args
, **kwargs
): 
1057         """BeginBold(self) -> bool""" 
1058         return _richtext
.RichTextCtrl_BeginBold(*args
, **kwargs
) 
1060     def EndBold(*args
, **kwargs
): 
1061         """EndBold(self) -> bool""" 
1062         return _richtext
.RichTextCtrl_EndBold(*args
, **kwargs
) 
1064     def BeginItalic(*args
, **kwargs
): 
1065         """BeginItalic(self) -> bool""" 
1066         return _richtext
.RichTextCtrl_BeginItalic(*args
, **kwargs
) 
1068     def EndItalic(*args
, **kwargs
): 
1069         """EndItalic(self) -> bool""" 
1070         return _richtext
.RichTextCtrl_EndItalic(*args
, **kwargs
) 
1072     def BeginUnderline(*args
, **kwargs
): 
1073         """BeginUnderline(self) -> bool""" 
1074         return _richtext
.RichTextCtrl_BeginUnderline(*args
, **kwargs
) 
1076     def EndUnderline(*args
, **kwargs
): 
1077         """EndUnderline(self) -> bool""" 
1078         return _richtext
.RichTextCtrl_EndUnderline(*args
, **kwargs
) 
1080     def BeginFontSize(*args
, **kwargs
): 
1081         """BeginFontSize(self, int pointSize) -> bool""" 
1082         return _richtext
.RichTextCtrl_BeginFontSize(*args
, **kwargs
) 
1084     def EndFontSize(*args
, **kwargs
): 
1085         """EndFontSize(self) -> bool""" 
1086         return _richtext
.RichTextCtrl_EndFontSize(*args
, **kwargs
) 
1088     def BeginFont(*args
, **kwargs
): 
1089         """BeginFont(self, Font font) -> bool""" 
1090         return _richtext
.RichTextCtrl_BeginFont(*args
, **kwargs
) 
1092     def EndFont(*args
, **kwargs
): 
1093         """EndFont(self) -> bool""" 
1094         return _richtext
.RichTextCtrl_EndFont(*args
, **kwargs
) 
1096     def BeginTextColour(*args
, **kwargs
): 
1097         """BeginTextColour(self, Colour colour) -> bool""" 
1098         return _richtext
.RichTextCtrl_BeginTextColour(*args
, **kwargs
) 
1100     def EndTextColour(*args
, **kwargs
): 
1101         """EndTextColour(self) -> bool""" 
1102         return _richtext
.RichTextCtrl_EndTextColour(*args
, **kwargs
) 
1104     def BeginAlignment(*args
, **kwargs
): 
1105         """BeginAlignment(self, int alignment) -> bool""" 
1106         return _richtext
.RichTextCtrl_BeginAlignment(*args
, **kwargs
) 
1108     def EndAlignment(*args
, **kwargs
): 
1109         """EndAlignment(self) -> bool""" 
1110         return _richtext
.RichTextCtrl_EndAlignment(*args
, **kwargs
) 
1112     def BeginLeftIndent(*args
, **kwargs
): 
1113         """BeginLeftIndent(self, int leftIndent, int leftSubIndent=0) -> bool""" 
1114         return _richtext
.RichTextCtrl_BeginLeftIndent(*args
, **kwargs
) 
1116     def EndLeftIndent(*args
, **kwargs
): 
1117         """EndLeftIndent(self) -> bool""" 
1118         return _richtext
.RichTextCtrl_EndLeftIndent(*args
, **kwargs
) 
1120     def BeginRightIndent(*args
, **kwargs
): 
1121         """BeginRightIndent(self, int rightIndent) -> bool""" 
1122         return _richtext
.RichTextCtrl_BeginRightIndent(*args
, **kwargs
) 
1124     def EndRightIndent(*args
, **kwargs
): 
1125         """EndRightIndent(self) -> bool""" 
1126         return _richtext
.RichTextCtrl_EndRightIndent(*args
, **kwargs
) 
1128     def BeginParagraphSpacing(*args
, **kwargs
): 
1129         """BeginParagraphSpacing(self, int before, int after) -> bool""" 
1130         return _richtext
.RichTextCtrl_BeginParagraphSpacing(*args
, **kwargs
) 
1132     def EndParagraphSpacing(*args
, **kwargs
): 
1133         """EndParagraphSpacing(self) -> bool""" 
1134         return _richtext
.RichTextCtrl_EndParagraphSpacing(*args
, **kwargs
) 
1136     def BeginLineSpacing(*args
, **kwargs
): 
1137         """BeginLineSpacing(self, int lineSpacing) -> bool""" 
1138         return _richtext
.RichTextCtrl_BeginLineSpacing(*args
, **kwargs
) 
1140     def EndLineSpacing(*args
, **kwargs
): 
1141         """EndLineSpacing(self) -> bool""" 
1142         return _richtext
.RichTextCtrl_EndLineSpacing(*args
, **kwargs
) 
1144     def BeginNumberedBullet(*args
, **kwargs
): 
1146         BeginNumberedBullet(self, int bulletNumber, int leftIndent, int leftSubIndent,  
1147             int bulletStyle=wxTEXT_ATTR_BULLET_STYLE_ARABIC|wxTEXT_ATTR_BULLET_STYLE_PERIOD) -> bool 
1149         return _richtext
.RichTextCtrl_BeginNumberedBullet(*args
, **kwargs
) 
1151     def EndNumberedBullet(*args
, **kwargs
): 
1152         """EndNumberedBullet(self) -> bool""" 
1153         return _richtext
.RichTextCtrl_EndNumberedBullet(*args
, **kwargs
) 
1155     def BeginSymbolBullet(*args
, **kwargs
): 
1156         """BeginSymbolBullet(self, String symbol, int leftIndent, int leftSubIndent, int bulletStyle=TEXT_ATTR_BULLET_STYLE_SYMBOL) -> bool""" 
1157         return _richtext
.RichTextCtrl_BeginSymbolBullet(*args
, **kwargs
) 
1159     def EndSymbolBullet(*args
, **kwargs
): 
1160         """EndSymbolBullet(self) -> bool""" 
1161         return _richtext
.RichTextCtrl_EndSymbolBullet(*args
, **kwargs
) 
1163     def BeginCharacterStyle(*args
, **kwargs
): 
1164         """BeginCharacterStyle(self, String characterStyle) -> bool""" 
1165         return _richtext
.RichTextCtrl_BeginCharacterStyle(*args
, **kwargs
) 
1167     def EndCharacterStyle(*args
, **kwargs
): 
1168         """EndCharacterStyle(self) -> bool""" 
1169         return _richtext
.RichTextCtrl_EndCharacterStyle(*args
, **kwargs
) 
1171     def BeginParagraphStyle(*args
, **kwargs
): 
1172         """BeginParagraphStyle(self, String paragraphStyle) -> bool""" 
1173         return _richtext
.RichTextCtrl_BeginParagraphStyle(*args
, **kwargs
) 
1175     def EndParagraphStyle(*args
, **kwargs
): 
1176         """EndParagraphStyle(self) -> bool""" 
1177         return _richtext
.RichTextCtrl_EndParagraphStyle(*args
, **kwargs
) 
1179     def BeginListStyle(*args
, **kwargs
): 
1181         BeginListStyle(self, String listStyle, int level=1, int number=1) -> bool 
1183         Begin named list style. 
1185         return _richtext
.RichTextCtrl_BeginListStyle(*args
, **kwargs
) 
1187     def EndListStyle(*args
, **kwargs
): 
1189         EndListStyle(self) -> bool 
1191         End named list style. 
1193         return _richtext
.RichTextCtrl_EndListStyle(*args
, **kwargs
) 
1195     def BeginURL(*args
, **kwargs
): 
1197         BeginURL(self, String url, String characterStyle=wxEmptyString) -> bool 
1201         return _richtext
.RichTextCtrl_BeginURL(*args
, **kwargs
) 
1203     def EndURL(*args
, **kwargs
): 
1205         EndURL(self) -> bool 
1209         return _richtext
.RichTextCtrl_EndURL(*args
, **kwargs
) 
1211     def SetDefaultStyleToCursorStyle(*args
, **kwargs
): 
1212         """SetDefaultStyleToCursorStyle(self) -> bool""" 
1213         return _richtext
.RichTextCtrl_SetDefaultStyleToCursorStyle(*args
, **kwargs
) 
1215     def SelectNone(*args
, **kwargs
): 
1216         """SelectNone(self)""" 
1217         return _richtext
.RichTextCtrl_SelectNone(*args
, **kwargs
) 
1219     def SelectWord(*args
, **kwargs
): 
1220         """SelectWord(self, long position) -> bool""" 
1221         return _richtext
.RichTextCtrl_SelectWord(*args
, **kwargs
) 
1223     def GetSelectionRange(*args
, **kwargs
): 
1224         """GetSelectionRange(self) -> RichTextRange""" 
1225         return _richtext
.RichTextCtrl_GetSelectionRange(*args
, **kwargs
) 
1227     def SetSelectionRange(*args
, **kwargs
): 
1228         """SetSelectionRange(self, RichTextRange range)""" 
1229         return _richtext
.RichTextCtrl_SetSelectionRange(*args
, **kwargs
) 
1231     def GetInternalSelectionRange(*args
, **kwargs
): 
1232         """GetInternalSelectionRange(self) -> RichTextRange""" 
1233         return _richtext
.RichTextCtrl_GetInternalSelectionRange(*args
, **kwargs
) 
1235     def SetInternalSelectionRange(*args
, **kwargs
): 
1236         """SetInternalSelectionRange(self, RichTextRange range)""" 
1237         return _richtext
.RichTextCtrl_SetInternalSelectionRange(*args
, **kwargs
) 
1239     def AddParagraph(*args
, **kwargs
): 
1240         """AddParagraph(self, String text) -> RichTextRange""" 
1241         return _richtext
.RichTextCtrl_AddParagraph(*args
, **kwargs
) 
1243     def AddImage(*args
, **kwargs
): 
1244         """AddImage(self, Image image) -> RichTextRange""" 
1245         return _richtext
.RichTextCtrl_AddImage(*args
, **kwargs
) 
1247     def LayoutContent(*args
, **kwargs
): 
1248         """LayoutContent(self, bool onlyVisibleRect=False) -> bool""" 
1249         return _richtext
.RichTextCtrl_LayoutContent(*args
, **kwargs
) 
1251     def MoveCaret(*args
, **kwargs
): 
1252         """MoveCaret(self, long pos, bool showAtLineStart=False) -> bool""" 
1253         return _richtext
.RichTextCtrl_MoveCaret(*args
, **kwargs
) 
1255     def MoveRight(*args
, **kwargs
): 
1256         """MoveRight(self, int noPositions=1, int flags=0) -> bool""" 
1257         return _richtext
.RichTextCtrl_MoveRight(*args
, **kwargs
) 
1259     def MoveLeft(*args
, **kwargs
): 
1260         """MoveLeft(self, int noPositions=1, int flags=0) -> bool""" 
1261         return _richtext
.RichTextCtrl_MoveLeft(*args
, **kwargs
) 
1263     def MoveUp(*args
, **kwargs
): 
1264         """MoveUp(self, int noLines=1, int flags=0) -> bool""" 
1265         return _richtext
.RichTextCtrl_MoveUp(*args
, **kwargs
) 
1267     def MoveDown(*args
, **kwargs
): 
1268         """MoveDown(self, int noLines=1, int flags=0) -> bool""" 
1269         return _richtext
.RichTextCtrl_MoveDown(*args
, **kwargs
) 
1271     def MoveToLineEnd(*args
, **kwargs
): 
1272         """MoveToLineEnd(self, int flags=0) -> bool""" 
1273         return _richtext
.RichTextCtrl_MoveToLineEnd(*args
, **kwargs
) 
1275     def MoveToLineStart(*args
, **kwargs
): 
1276         """MoveToLineStart(self, int flags=0) -> bool""" 
1277         return _richtext
.RichTextCtrl_MoveToLineStart(*args
, **kwargs
) 
1279     def MoveToParagraphEnd(*args
, **kwargs
): 
1280         """MoveToParagraphEnd(self, int flags=0) -> bool""" 
1281         return _richtext
.RichTextCtrl_MoveToParagraphEnd(*args
, **kwargs
) 
1283     def MoveToParagraphStart(*args
, **kwargs
): 
1284         """MoveToParagraphStart(self, int flags=0) -> bool""" 
1285         return _richtext
.RichTextCtrl_MoveToParagraphStart(*args
, **kwargs
) 
1287     def MoveHome(*args
, **kwargs
): 
1288         """MoveHome(self, int flags=0) -> bool""" 
1289         return _richtext
.RichTextCtrl_MoveHome(*args
, **kwargs
) 
1291     def MoveEnd(*args
, **kwargs
): 
1292         """MoveEnd(self, int flags=0) -> bool""" 
1293         return _richtext
.RichTextCtrl_MoveEnd(*args
, **kwargs
) 
1295     def PageUp(*args
, **kwargs
): 
1296         """PageUp(self, int noPages=1, int flags=0) -> bool""" 
1297         return _richtext
.RichTextCtrl_PageUp(*args
, **kwargs
) 
1299     def PageDown(*args
, **kwargs
): 
1300         """PageDown(self, int noPages=1, int flags=0) -> bool""" 
1301         return _richtext
.RichTextCtrl_PageDown(*args
, **kwargs
) 
1303     def WordLeft(*args
, **kwargs
): 
1304         """WordLeft(self, int noPages=1, int flags=0) -> bool""" 
1305         return _richtext
.RichTextCtrl_WordLeft(*args
, **kwargs
) 
1307     def WordRight(*args
, **kwargs
): 
1308         """WordRight(self, int noPages=1, int flags=0) -> bool""" 
1309         return _richtext
.RichTextCtrl_WordRight(*args
, **kwargs
) 
1311     def GetBuffer(*args
, **kwargs
): 
1312         """GetBuffer(self) -> wxRichTextBuffer""" 
1313         return _richtext
.RichTextCtrl_GetBuffer(*args
, **kwargs
) 
1315     def BeginBatchUndo(*args
, **kwargs
): 
1316         """BeginBatchUndo(self, String cmdName) -> bool""" 
1317         return _richtext
.RichTextCtrl_BeginBatchUndo(*args
, **kwargs
) 
1319     def EndBatchUndo(*args
, **kwargs
): 
1320         """EndBatchUndo(self) -> bool""" 
1321         return _richtext
.RichTextCtrl_EndBatchUndo(*args
, **kwargs
) 
1323     def BatchingUndo(*args
, **kwargs
): 
1324         """BatchingUndo(self) -> bool""" 
1325         return _richtext
.RichTextCtrl_BatchingUndo(*args
, **kwargs
) 
1327     def BeginSuppressUndo(*args
, **kwargs
): 
1328         """BeginSuppressUndo(self) -> bool""" 
1329         return _richtext
.RichTextCtrl_BeginSuppressUndo(*args
, **kwargs
) 
1331     def EndSuppressUndo(*args
, **kwargs
): 
1332         """EndSuppressUndo(self) -> bool""" 
1333         return _richtext
.RichTextCtrl_EndSuppressUndo(*args
, **kwargs
) 
1335     def SuppressingUndo(*args
, **kwargs
): 
1336         """SuppressingUndo(self) -> bool""" 
1337         return _richtext
.RichTextCtrl_SuppressingUndo(*args
, **kwargs
) 
1339     def HasCharacterAttributes(*args
, **kwargs
): 
1340         """HasCharacterAttributes(self, RichTextRange range, RichTextAttr style) -> bool""" 
1341         return _richtext
.RichTextCtrl_HasCharacterAttributes(*args
, **kwargs
) 
1343     def HasParagraphAttributes(*args
, **kwargs
): 
1344         """HasParagraphAttributes(self, RichTextRange range, RichTextAttr style) -> bool""" 
1345         return _richtext
.RichTextCtrl_HasParagraphAttributes(*args
, **kwargs
) 
1347     def IsSelectionBold(*args
, **kwargs
): 
1348         """IsSelectionBold(self) -> bool""" 
1349         return _richtext
.RichTextCtrl_IsSelectionBold(*args
, **kwargs
) 
1351     def IsSelectionItalics(*args
, **kwargs
): 
1352         """IsSelectionItalics(self) -> bool""" 
1353         return _richtext
.RichTextCtrl_IsSelectionItalics(*args
, **kwargs
) 
1355     def IsSelectionUnderlined(*args
, **kwargs
): 
1356         """IsSelectionUnderlined(self) -> bool""" 
1357         return _richtext
.RichTextCtrl_IsSelectionUnderlined(*args
, **kwargs
) 
1359     def IsSelectionAligned(*args
, **kwargs
): 
1360         """IsSelectionAligned(self, int alignment) -> bool""" 
1361         return _richtext
.RichTextCtrl_IsSelectionAligned(*args
, **kwargs
) 
1363     def ApplyBoldToSelection(*args
, **kwargs
): 
1364         """ApplyBoldToSelection(self) -> bool""" 
1365         return _richtext
.RichTextCtrl_ApplyBoldToSelection(*args
, **kwargs
) 
1367     def ApplyItalicToSelection(*args
, **kwargs
): 
1368         """ApplyItalicToSelection(self) -> bool""" 
1369         return _richtext
.RichTextCtrl_ApplyItalicToSelection(*args
, **kwargs
) 
1371     def ApplyUnderlineToSelection(*args
, **kwargs
): 
1372         """ApplyUnderlineToSelection(self) -> bool""" 
1373         return _richtext
.RichTextCtrl_ApplyUnderlineToSelection(*args
, **kwargs
) 
1375     def ApplyAlignmentToSelection(*args
, **kwargs
): 
1376         """ApplyAlignmentToSelection(self, int alignment) -> bool""" 
1377         return _richtext
.RichTextCtrl_ApplyAlignmentToSelection(*args
, **kwargs
) 
1379     def SetStyleSheet(*args
, **kwargs
): 
1380         """SetStyleSheet(self, wxRichTextStyleSheet styleSheet)""" 
1381         return _richtext
.RichTextCtrl_SetStyleSheet(*args
, **kwargs
) 
1383     def GetStyleSheet(*args
, **kwargs
): 
1384         """GetStyleSheet(self) -> wxRichTextStyleSheet""" 
1385         return _richtext
.RichTextCtrl_GetStyleSheet(*args
, **kwargs
) 
1387     def ApplyStyleSheet(*args
, **kwargs
): 
1388         """ApplyStyleSheet(self, wxRichTextStyleSheet styleSheet=None) -> bool""" 
1389         return _richtext
.RichTextCtrl_ApplyStyleSheet(*args
, **kwargs
) 
1391     Buffer 
= property(GetBuffer
,doc
="See `GetBuffer`")  
1392     DefaultStyle 
= property(GetDefaultStyle
,SetDefaultStyle
,doc
="See `GetDefaultStyle` and `SetDefaultStyle`")  
1393     DelayedLayoutThreshold 
= property(GetDelayedLayoutThreshold
,SetDelayedLayoutThreshold
,doc
="See `GetDelayedLayoutThreshold` and `SetDelayedLayoutThreshold`")  
1394     Filename 
= property(GetFilename
,SetFilename
,doc
="See `GetFilename` and `SetFilename`")  
1395     InsertionPoint 
= property(GetInsertionPoint
,SetInsertionPoint
,doc
="See `GetInsertionPoint` and `SetInsertionPoint`")  
1396     InternalSelectionRange 
= property(GetInternalSelectionRange
,SetInternalSelectionRange
,doc
="See `GetInternalSelectionRange` and `SetInternalSelectionRange`")  
1397     LastPosition 
= property(GetLastPosition
,doc
="See `GetLastPosition`")  
1398     NumberOfLines 
= property(GetNumberOfLines
,doc
="See `GetNumberOfLines`")  
1399     Selection 
= property(GetSelection
,SetSelectionRange
,doc
="See `GetSelection` and `SetSelection`")  
1400     SelectionRange 
= property(GetSelectionRange
,SetSelectionRange
,doc
="See `GetSelectionRange` and `SetSelectionRange`")  
1401     StringSelection 
= property(GetStringSelection
,doc
="See `GetStringSelection`")  
1402     StyleSheet 
= property(GetStyleSheet
,SetStyleSheet
,doc
="See `GetStyleSheet` and `SetStyleSheet`")  
1403     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
1404 _richtext
.RichTextCtrl_swigregister(RichTextCtrl
) 
1406 def PreRichTextCtrl(*args
, **kwargs
): 
1407     """PreRichTextCtrl() -> RichTextCtrl""" 
1408     val 
= _richtext
.new_PreRichTextCtrl(*args
, **kwargs
) 
1411 wxEVT_COMMAND_RICHTEXT_LEFT_CLICK 
= _richtext
.wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
 
1412 wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK 
= _richtext
.wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
 
1413 wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK 
= _richtext
.wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
 
1414 wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK 
= _richtext
.wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
 
1415 wxEVT_COMMAND_RICHTEXT_RETURN 
= _richtext
.wxEVT_COMMAND_RICHTEXT_RETURN
 
1416 wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING 
= _richtext
.wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING
 
1417 wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED 
= _richtext
.wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED
 
1418 wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING 
= _richtext
.wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING
 
1419 wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED 
= _richtext
.wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED
 
1420 wxEVT_COMMAND_RICHTEXT_CHARACTER 
= _richtext
.wxEVT_COMMAND_RICHTEXT_CHARACTER
 
1421 wxEVT_COMMAND_RICHTEXT_DELETE 
= _richtext
.wxEVT_COMMAND_RICHTEXT_DELETE
 
1422 EVT_RICHTEXT_LEFT_CLICK 
= wx
.PyEventBinder(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
, 1) 
1423 EVT_RICHTEXT_RIGHT_CLICK 
= wx
.PyEventBinder(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
, 1) 
1424 EVT_RICHTEXT_MIDDLE_CLICK 
= wx
.PyEventBinder(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
, 1) 
1425 EVT_RICHTEXT_LEFT_DCLICK 
= wx
.PyEventBinder(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
, 1) 
1426 EVT_RICHTEXT_RETURN 
= wx
.PyEventBinder( wxEVT_COMMAND_RICHTEXT_RETURN
, 1) 
1427 EVT_RICHTEXT_STYLESHEET_CHANGING 
= wx
.PyEventBinder( wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING
, 1) 
1428 EVT_RICHTEXT_STYLESHEET_CHANGED 
= wx
.PyEventBinder( wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED
, 1) 
1429 EVT_RICHTEXT_STYLESHEET_REPLACING 
= wx
.PyEventBinder( wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING
, 1) 
1430 EVT_RICHTEXT_STYLESHEET_REPLACED 
= wx
.PyEventBinder( wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED
, 1) 
1431 EVT_RICHTEXT_CHARACTER 
= wx
.PyEventBinder( wxEVT_COMMAND_RICHTEXT_CHARACTER
, 1) 
1432 EVT_RICHTEXT_DELETE 
= wx
.PyEventBinder( wxEVT_COMMAND_RICHTEXT_DELETE
, 1) 
1434 class RichTextEvent(_core
.NotifyEvent
): 
1435     """Proxy of C++ RichTextEvent class""" 
1436     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1437     __repr__ 
= _swig_repr
 
1438     def __init__(self
, *args
, **kwargs
):  
1439         """__init__(self, EventType commandType=wxEVT_NULL, int winid=0) -> RichTextEvent""" 
1440         _richtext
.RichTextEvent_swiginit(self
,_richtext
.new_RichTextEvent(*args
, **kwargs
)) 
1441     def GetPosition(*args
, **kwargs
): 
1442         """GetPosition(self) -> int""" 
1443         return _richtext
.RichTextEvent_GetPosition(*args
, **kwargs
) 
1445     def SetPosition(*args
, **kwargs
): 
1446         """SetPosition(self, int n)""" 
1447         return _richtext
.RichTextEvent_SetPosition(*args
, **kwargs
) 
1449     def GetFlags(*args
, **kwargs
): 
1450         """GetFlags(self) -> int""" 
1451         return _richtext
.RichTextEvent_GetFlags(*args
, **kwargs
) 
1453     def SetFlags(*args
, **kwargs
): 
1454         """SetFlags(self, int flags)""" 
1455         return _richtext
.RichTextEvent_SetFlags(*args
, **kwargs
) 
1457     Flags 
= property(GetFlags
,SetFlags
,doc
="See `GetFlags` and `SetFlags`")  
1458     Index 
= property(GetPosition
,SetPosition
,doc
="See `GetPosition` and `SetPosition`")  
1459 _richtext
.RichTextEvent_swigregister(RichTextEvent
)