.. include:: headings.inc .. module:: py.editor .. currentmodule:: py.editor .. highlight:: python .. _py.editor: ========================================================================================================================================== |phoenix_title| **editor** ========================================================================================================================================== PyAlaCarte and PyAlaMode editors. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for module **editor** .. raw:: html

Inheritance diagram of editor

| |function_summary| Functions Summary ==================================== ================================================================================ ================================================================================ :func:`~py.editor.directory` Dir dialog wrapper function. :func:`~py.editor.fileDialog` File dialog wrapper function. :func:`~py.editor.messageDialog` Message dialog wrapper function. :func:`~py.editor.openMultiple` File dialog wrapper function. :func:`~py.editor.openSingle` File dialog wrapper function. :func:`~py.editor.saveSingle` File dialog wrapper function. ================================================================================ ================================================================================ | |class_summary| Classes Summary =============================== ================================================================================ ================================================================================ :ref:`py.editor.DialogResults` DialogResults class. :ref:`py.editor.Editor` Editor having an EditWindow. :ref:`py.editor.EditorFrame` Frame containing one editor. :ref:`py.editor.EditorNotebook` A notebook containing a page for each editor. :ref:`py.editor.EditorNotebookFrame` Frame containing one or more editors in a notebook. :ref:`py.editor.EditorShellNotebook` A notebook containing an editor page and a shell page. :ref:`py.editor.EditorShellNotebookFrame` Frame containing a notebook containing EditorShellNotebooks. :ref:`py.editor.EditWindow` EditWindow based on StyledTextCtrl. ================================================================================ ================================================================================ | .. toctree:: :maxdepth: 1 :hidden: py.editor.DialogResults py.editor.Editor py.editor.EditorFrame py.editor.EditorNotebook py.editor.EditorNotebookFrame py.editor.EditorShellNotebook py.editor.EditorShellNotebookFrame py.editor.EditWindow Functions ------------ .. function:: directory(parent=None, message='Choose a directory', path='', style=0, pos=DefaultPosition, size=DefaultSize) Dir dialog wrapper function. .. function:: fileDialog(parent=None, title='Open', directory='', filename='', wildcard='All Files (\*.\*)|\*.\*', style=OPEN | MULTIPLE) File dialog wrapper function. .. function:: messageDialog(parent=None, message='', title='Message box', style=YES_NO | CANCEL | CENTRE | ICON_QUESTION, pos=DefaultPosition) Message dialog wrapper function. .. function:: openMultiple(parent=None, title='Open', directory='', filename='', wildcard='All Files (\*.\*)|\*.\*', style=OPEN | MULTIPLE) File dialog wrapper function. .. function:: openSingle(parent=None, title='Open', directory='', filename='', wildcard='All Files (\*.\*)|\*.\*', style=OPEN) File dialog wrapper function. .. function:: saveSingle(parent=None, title='Save', directory='', filename='', wildcard='All Files (\*.\*)|\*.\*', style=SAVE | OVERWRITE_PROMPT) File dialog wrapper function.