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

R

T

Functions



wx.richtext.RichTextApplyStyle(destStyle, style, compareWith=None)

Apply one style to another.

Parameters:
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:

string



wx.richtext.RichTextHasStyle(flags, style)

Utilities

Parameters:
  • flags (int) –

  • style (int) –

Return type:

bool



wx.richtext.RichTextModuleInit()


wx.richtext.RichTextRemoveStyle(destStyle, style)
Parameters:
Return type:

bool



wx.richtext.RichTextSplitParaCharStyles(style, parStyle, charStyle)

Split into paragraph and character styles.

Parameters:
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:


wx.richtext.TextAttrEq(attr1, attr2)

Compare two attribute objects.

Parameters:
Return type:

bool