.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2018 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.dataview.DataViewToggleRenderer:
==========================================================================================================================================
|phoenix_title| **wx.dataview.DataViewToggleRenderer**
==========================================================================================================================================
This class is used by :ref:`wx.dataview.DataViewCtrl` to render toggle controls.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
DataViewToggleRenderer:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.dataview.DataViewToggleRenderer.__init__` The constructor.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.dataview.DataViewToggleRenderer(DataViewRenderer)
**Possible constructors**::
DataViewToggleRenderer(varianttype="bool", mode=DATAVIEW_CELL_INERT,
align=DVR_DEFAULT_ALIGNMENT)
This class is used by DataViewCtrl to render toggle controls.
.. method:: __init__(self, varianttype="bool", mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
The constructor.
:param `varianttype`:
:type `varianttype`: string
:param `mode`:
:type `mode`: wx.dataview.DataViewCellMode
:param `align`:
:type `align`: int