.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.richtext.RichTextParagraphStyleDefinition:
==========================================================================================================================================
|phoenix_title| **wx.richtext.RichTextParagraphStyleDefinition**
==========================================================================================================================================
This class represents a paragraph style definition, usually added to a :ref:`wx.richtext.RichTextStyleSheet`.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
RichTextParagraphStyleDefinition:
|
|sub_classes| Known Subclasses
==============================
:ref:`wx.richtext.RichTextListStyleDefinition`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.richtext.RichTextParagraphStyleDefinition.__init__` Constructor.
:meth:`~wx.richtext.RichTextParagraphStyleDefinition.GetNextStyle` Returns the style that should normally follow this style.
:meth:`~wx.richtext.RichTextParagraphStyleDefinition.SetNextStyle` Sets the style that should normally follow this style.
================================================================================ ================================================================================
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.richtext.RichTextParagraphStyleDefinition.NextStyle` See :meth:`~wx.richtext.RichTextParagraphStyleDefinition.GetNextStyle` and :meth:`~wx.richtext.RichTextParagraphStyleDefinition.SetNextStyle`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.richtext.RichTextParagraphStyleDefinition(RichTextStyleDefinition)
**Possible constructors**::
RichTextParagraphStyleDefinition(name: str='') -> None
This class represents a paragraph style definition, usually added to a
RichTextStyleSheet.
.. method:: __init__(self, name: str='')
Constructor.
:param `name`:
:type `name`: string
:rtype: `None`
.. method:: GetNextStyle(self)
Returns the style that should normally follow this style.
:rtype: `str`
.. method:: SetNextStyle(self, name : str)
Sets the style that should normally follow this style.
:param `name`:
:type `name`: string
:rtype: `None`
.. attribute:: NextStyle
See :meth:`~wx.richtext.RichTextParagraphStyleDefinition.GetNextStyle` and :meth:`~wx.richtext.RichTextParagraphStyleDefinition.SetNextStyle`