.. 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

.. currentmodule:: wx.lib.foldmenu

.. highlight:: python



.. _wx.lib.foldmenu.FoldOutMenu:

==========================================================================================================================================
|phoenix_title|  **wx.lib.foldmenu.FoldOutMenu**
==========================================================================================================================================

BitmapButton() -> None
BitmapButton(parent, id=ID_ANY, bitmap=NullBitmap, pos=DefaultPosition, size=DefaultSize, style=0, validator=DefaultValidator, name=ButtonNameStr) -> None

A bitmap button is a control that contains a bitmap.



|

|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>FoldOutMenu</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.foldmenu.FoldOutMenu_inheritance.svg" alt="Inheritance diagram of FoldOutMenu" usemap="#dummy" class="inheritance"/></center>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.foldmenu.FoldOutMenu.html" title="BitmapButton() -> None" alt="" coords="5,620,246,649"/> <area shape="rect" id="node2" href="wx.BitmapButton.html" title="A bitmap button is a control that contains a bitmap." alt="" coords="51,543,200,572"/> <area shape="rect" id="node3" href="wx.Button.html" title="A button is a control that contains a text string, and is one of the most common elements of a GUI." alt="" coords="76,466,175,495"/> <area shape="rect" id="node4" href="wx.AnyButton.html" title="A class for common button functionality used as the base for the various button classes." alt="" coords="62,389,189,418"/> <area shape="rect" id="node5" href="wx.Control.html" title="This is the base class for a control or 'widget'." alt="" coords="73,313,178,341"/> <area shape="rect" id="node6" href="wx.Window.html" title="wx.Window  is the base class for all windows and represents any visible object on screen." alt="" coords="70,236,181,265"/> <area shape="rect" id="node7" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="52,159,200,188"/> <area shape="rect" id="node8" href="wx.EvtHandler.html" title="A class that can handle events from the windowing system." alt="" coords="59,82,192,111"/> <area shape="rect" id="node9" href="wx.Object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="10,5,108,34"/> <area shape="rect" id="node10" href="wx.Trackable.html" title="Add-on base class for a trackable object." alt="" coords="132,5,255,34"/> </map> 
   </p>
   </div>

|


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

:class:`wx.BitmapButton`

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.lib.foldmenu.FoldOutMenu.__init__`                                    Initialize self.  See help(type(self)) for accurate signature.
:meth:`~wx.lib.foldmenu.FoldOutMenu.AddButton`                                   
:meth:`~wx.lib.foldmenu.FoldOutMenu.click`                                       
================================================================================ ================================================================================


|


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


.. class:: FoldOutMenu(wx.BitmapButton)

   BitmapButton() -> None
   BitmapButton(parent, id=ID_ANY, bitmap=NullBitmap, pos=DefaultPosition, size=DefaultSize, style=0, validator=DefaultValidator, name=ButtonNameStr) -> None
   
   A bitmap button is a control that contains a bitmap.

   .. method:: __init__(self,parent,id,bitmap,pos = wx.DefaultPosition, size = wx.DefaultSize, style = wx.BU_AUTODRAW, validator = wx.DefaultValidator, name = "button")

      Initialize self.  See help(type(self)) for accurate signature.


   .. method:: AddButton(self,bitmap,handler=None)


   .. method:: click(self,event)


