Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Module pydocview :: Class DocOptionsService |
|
object
--+ |Object
--+ |EvtHandler
--+ |DocService
--+ | DocOptionsService
A service that implements an options menu item and an options dialog with notebook tabs. New tabs can be added by other services by calling the "AddOptionsPanel" method.
Method Summary | |
---|---|
Initializes the options service with the option of suppressing the default general options pane that is included with the options service by setting showGeneralOptions to False. | |
Adds an options panel to the options dialog. | |
Clears all of the options panels that have been added into the options dialog. | |
Return the modes supported by the application. | |
Installs a "Tools" menu with an "Options" menu item. | |
Shows the options dialog, called when the "Options" menu item is selected. | |
Checks to see if the "Options" menu item has been selected. | |
Sets the modes supported by the application. |
Property Summary |
---|
Method Details |
---|
__init__(self,
showGeneralOptions=True,
supportedModes=0)
|
AddOptionsPanel(self, optionsPanel)Adds an options panel to the options dialog. |
ClearOptionsPanels(self)Clears all of the options panels that have been added into the options dialog. |
GetSupportedModes(self)Return the modes supported by the application. Use docview.DOC_SDI and docview.DOC_MDI flags to check if SDI and/or MDI modes are supported. |
InstallControls(self, frame, menuBar=None, toolBar=None, statusBar=None, document=None)Installs a "Tools" menu with an "Options" menu item.
|
OnOptions(self, event)Shows the options dialog, called when the "Options" menu item is selected. |
ProcessEvent(self, event)Checks to see if the "Options" menu item has been selected.
|
SetSupportedModes(self, _supportedModessupportedModes)Sets the modes supported by the application. Use docview.DOC_SDI and docview.DOC_MDI flags to set if SDI and/or MDI modes are supported. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:13:30 2007 | http://epydoc.sf.net |