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

.. highlight:: python



.. _wx.lib.pydocview.GeneralOptionsPanel:

==========================================================================================================================================
|phoenix_title|  **wx.lib.pydocview.GeneralOptionsPanel**
==========================================================================================================================================

A general options panel that is used in the OptionDialog to configure the
generic properties of a pydocview application, such as "show tips at startup"
and whether to use SDI or MDI for the application.



|

|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>GeneralOptionsPanel</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.pydocview.GeneralOptionsPanel_inheritance.png" alt="Inheritance diagram of GeneralOptionsPanel" 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.lib.pydocview.GeneralOptionsPanel.html" title="wx.lib.pydocview.GeneralOptionsPanel" alt="" coords="4,392,264,421"/> <area shape="rect" id="node2" href="wx.Panel.html" title="wx.Panel" alt="" coords="97,315,172,344"/> <area shape="rect" id="node3" href="wx.EvtHandler.html" title="wx.EvtHandler" alt="" coords="79,83,189,112"/> <area shape="rect" id="node6" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="74,160,195,189"/> <area shape="rect" id="node4" href="wx.Object.html" title="wx.Object" alt="" coords="36,5,117,35"/> <area shape="rect" id="node5" href="wx.Trackable.html" title="wx.Trackable" alt="" coords="143,5,244,35"/> <area shape="rect" id="node7" href="wx.Window.html" title="wx.Window" alt="" coords="90,237,179,267"/> </map> 
   </p>

|


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

:class:`wx.Panel`

|


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

================================================================================ ================================================================================
:meth:`~wx.lib.pydocview.GeneralOptionsPanel.__init__`                           Initializes the panel by adding an "Options" folder tab to the parent notebook and
:meth:`~wx.lib.pydocview.GeneralOptionsPanel.GetIcon`                            Return icon for options panel on the Mac.
:meth:`~wx.lib.pydocview.GeneralOptionsPanel.OnOK`                               Updates the config based on the selections in the options panel.
================================================================================ ================================================================================


|


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


.. class:: GeneralOptionsPanel(wx.Panel)

   A general options panel that is used in the OptionDialog to configure the
   generic properties of a pydocview application, such as "show tips at startup"
   and whether to use SDI or MDI for the application.

   .. method:: __init__(self, parent, id)

      Initializes the panel by adding an "Options" folder tab to the parent notebook and
      populating the panel with the generic properties of a pydocview application.


   .. method:: GetIcon(self)

      Return icon for options panel on the Mac. 


   .. method:: OnOK(self, optionsDialog)

      Updates the config based on the selections in the options panel.


