.. include:: headings.inc .. currentmodule:: lib.pydocview .. highlight:: python .. _lib.pydocview.GeneralOptionsPanel: ========================================================================================================================================== |phoenix_title| **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| Inheritance Diagram ===================================== Inheritance diagram for class **GeneralOptionsPanel** .. raw:: html

Inheritance diagram of GeneralOptionsPanel

| |super_classes| Known Superclasses ================================== :class:`Panel` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.pydocview.GeneralOptionsPanel.__init__` Initializes the panel by adding an "Options" folder tab to the parent notebook and :meth:`~lib.pydocview.GeneralOptionsPanel.GetIcon` Return icon for options panel on the Mac. :meth:`~lib.pydocview.GeneralOptionsPanel.OnOK` Updates the config based on the selections in the options panel. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: GeneralOptionsPanel(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.