.. 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.dataview.DataViewProgressRenderer:
==========================================================================================================================================
|phoenix_title| **wx.dataview.DataViewProgressRenderer**
==========================================================================================================================================
This class is used by :ref:`wx.dataview.DataViewCtrl` to render progress bars.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
DataViewProgressRenderer:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.dataview.DataViewProgressRenderer.__init__` The constructor.
:meth:`~wx.dataview.DataViewProgressRenderer.GetDefaultType` Returns the `Variant` type used with this renderer.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.dataview.DataViewProgressRenderer(DataViewRenderer)
**Possible constructors**::
DataViewProgressRenderer(label: str='', varianttype:
str=DataViewProgressRenderer.GetDefaultType(), mode:
DataViewCellMode=DATAVIEW_CELL_INERT, align: int=DVR_DEFAULT_ALIGNMENT)
-> None
This class is used by DataViewCtrl to render progress bars.
.. method:: __init__(self, label: str='', varianttype: str=DataViewProgressRenderer.GetDefaultType(), mode: DataViewCellMode=DATAVIEW_CELL_INERT, align: int=DVR_DEFAULT_ALIGNMENT)
The constructor.
:param `label`:
:type `label`: string
:param `varianttype`:
:type `varianttype`: string
:param `mode`:
:type `mode`: wx.dataview.DataViewCellMode
:param `align`:
:type `align`: int
:rtype: `None`
.. staticmethod:: GetDefaultType()
Returns the `Variant` type used with this renderer.
:rtype: `str`
.. versionadded:: 4.1/wxWidgets-3.1.0