.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2017 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.lib.buttons

.. highlight:: python



.. _wx.lib.buttons.GenToggleButton:

==========================================================================================================================================
|phoenix_title|  **wx.lib.buttons.GenToggleButton**
==========================================================================================================================================

A generic toggle button. 



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
   <img id="toggleBlock-trigger" src="_static/images/closed.png"/>
   Inheritance diagram for class <strong>GenToggleButton</strong>:
   </div>
   <div id="toggleBlock-summary" style="display:block;"></div>
   <div id="toggleBlock-content" style="display:none;">
   <p class="graphviz">
   <center><img src="_static/images/inheritance/wx.lib.buttons.GenToggleButton_inheritance.png" alt="Inheritance diagram of GenToggleButton" usemap="#dummy" class="inheritance"/></center>
   </div>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.EvtHandler.html" title="wx.EvtHandler" alt="" coords="263,83,373,112"/> <area shape="rect" id="node9" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="258,160,379,189"/> <area shape="rect" id="node2" href="wx.Object.html" title="wx.Object" alt="" coords="220,5,301,35"/> <area shape="rect" id="node3" href="wx.Trackable.html" title="wx.Trackable" alt="" coords="327,5,428,35"/> <area shape="rect" id="node4" href="wx.lib.buttons.GenToggleButton.html" title="wx.lib.buttons.GenToggleButton" alt="" coords="99,469,321,499"/> <area shape="rect" id="node5" href="wx.lib.buttons.__ToggleMixin.html" title="wx.lib.buttons.__ToggleMixin" alt="" coords="5,392,203,421"/> <area shape="rect" id="node6" href="wx.lib.buttons.GenButton.html" title="wx.lib.buttons.GenButton" alt="" coords="227,392,409,421"/> <area shape="rect" id="node7" href="wx.Control.html" title="wx.Control" alt="" coords="275,315,363,344"/> <area shape="rect" id="node8" href="wx.Window.html" title="wx.Window" alt="" coords="274,237,363,267"/> </map> 
   </p>

|


|sub_classes| Known Subclasses
==============================

:class:`wx.lib.buttons.ThemedGenToggleButton`

|


|super_classes| Known Superclasses
==================================

:class:`wx.lib.buttons.GenButton`, :class:`wx.lib.buttons.__ToggleMixin`

|


|api| Class API
===============


.. class:: GenToggleButton(__ToggleMixin, GenButton)

   A generic toggle button. 

