wx.richtext Functions¶
The functions and macros defined in the wx.richtext module are described here: you can look up a function using the alphabetical listing of them.
Function Summary¶
R¶
T¶
Functions¶
- wx.richtext.RichTextApplyStyle(destStyle, style, compareWith=None)¶
Apply one style to another.
- Parameters:
destStyle (wx.richtext.RichTextAttr)
style (wx.richtext.RichTextAttr)
compareWith (wx.richtext.RichTextAttr)
- Return type:
bool
- wx.richtext.RichTextBitlistsEqPartial(valueA, valueB, flags)¶
Compare two bitlists.
- Parameters:
valueA (int)
valueB (int)
flags (int)
- Return type:
bool
- wx.richtext.RichTextCombineBitlists(valueA, valueB, flagsA, flagsB)¶
Combine two bitlists.
- Parameters:
valueA (int)
valueB (int)
flagsA (int)
flagsB (int)
- Return type:
bool
- wx.richtext.RichTextDecimalToRoman(n)¶
Convert a decimal to Roman numerals.
- Parameters:
n (long)
- Return type:
str
- wx.richtext.RichTextHasStyle(flags, style)¶
Utilities
- Parameters:
flags (int)
style (int)
- Return type:
bool
- wx.richtext.RichTextModuleInit()¶
- Return type:
None
- wx.richtext.RichTextRemoveStyle(destStyle, style)¶
- Parameters:
destStyle (wx.richtext.RichTextAttr)
style (wx.richtext.RichTextAttr)
- Return type:
bool
- wx.richtext.RichTextSplitParaCharStyles(style, parStyle, charStyle)¶
Split into paragraph and character styles.
- Parameters:
style (wx.richtext.RichTextAttr)
parStyle (wx.richtext.RichTextAttr)
charStyle (wx.richtext.RichTextAttr)
- Return type:
bool
- wx.richtext.RichTextTabsEq(tabs1, tabs2)¶
Compare tabs.
- Parameters:
tabs1 (list of integers)
tabs2 (list of integers)
- Return type:
bool
- wx.richtext.TextAttrCollectCommonAttributes(currentStyle, attr, clashingAttr, absentAttr)¶
- Parameters:
currentStyle (wx.TextAttr)
attr (wx.TextAttr)
clashingAttr (wx.TextAttr)
absentAttr (wx.TextAttr)
- Return type:
None
- wx.richtext.TextAttrEq(attr1, attr2)¶
Compare two attribute objects.
- Parameters:
attr1 (wx.richtext.RichTextAttr)
attr2 (wx.richtext.RichTextAttr)
- Return type:
bool