.. include:: headings.inc .. currentmodule:: lib.pydocview .. highlight:: python .. _lib.pydocview.OptionsDialog: ========================================================================================================================================== |phoenix_title| **OptionsDialog** ========================================================================================================================================== A default options dialog used by the OptionsService that hosts a notebook tab of options panels. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **OptionsDialog** .. raw:: html

Inheritance diagram of OptionsDialog

| |super_classes| Known Superclasses ================================== :class:`Dialog` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.pydocview.OptionsDialog.__init__` Initializes the options dialog with a notebook page that contains new :meth:`~lib.pydocview.OptionsDialog.DoRefresh` wxBug: On Windows XP when using a multiline notebook the default page doesn't get :meth:`~lib.pydocview.OptionsDialog.GetDocManager` Returns the document manager passed to the OptionsDialog constructor. :meth:`~lib.pydocview.OptionsDialog.OnOK` Calls the OnOK method of all of the OptionDialog's embedded panels ================================================================================ ================================================================================ | |api| Class API =============== .. class:: OptionsDialog(Dialog) A default options dialog used by the OptionsService that hosts a notebook tab of options panels. .. method:: __init__(self, parent, optionsPanelClasses, docManager) Initializes the options dialog with a notebook page that contains new instances of the passed optionsPanelClasses. .. method:: DoRefresh(self) wxBug: On Windows XP when using a multiline notebook the default page doesn't get drawn, but it works when using a single line notebook. .. method:: GetDocManager(self) Returns the document manager passed to the OptionsDialog constructor. .. method:: OnOK(self, event) Calls the OnOK method of all of the OptionDialog's embedded panels