This is a base class for paragraph and character styles.
wx.richtext.RichTextCharacterStyleDefinition, wx.richtext.RichTextParagraphStyleDefinition
Constructor. |
|
Returns the style on which this style is based. |
|
Returns the style’s description. |
|
Returns the style name. |
|
Returns the definition’s properties. |
|
Returns the style attributes combined with the attributes of the specified base style, if any. |
|
Sets the name of the style that this style is based on. |
|
Sets the style description. |
|
Sets the name of the style. |
|
Sets the definition’s properties. |
|
Sets the attributes for this style. |
See |
|
See |
|
See |
|
Possible constructors:
RichTextStyleDefinition(name: str='') -> None
This is a base class for paragraph and character styles.
Constructor.
name (string)
None
Returns the style on which this style is based.
str
Returns the style’s description.
str
Returns the style name.
str
Returns the definition’s properties.
Returns the style attributes combined with the attributes of the specified base style, if any.
This function works recursively.
sheet (wx.richtext.RichTextStyleSheet)
Sets the name of the style that this style is based on.
name (string)
None
Sets the style description.
descr (string)
None
Sets the name of the style.
name (string)
None
Sets the definition’s properties.
props (wx.richtext.RichTextProperties)
None
Sets the attributes for this style.
style (wx.richtext.RichTextAttr)
None
See GetBaseStyle
and SetBaseStyle
See GetDescription
and SetDescription
See GetProperties
and SetProperties