.. include:: headings.inc .. currentmodule:: py.crust .. highlight:: python .. _py.crust.CrustFrame: ========================================================================================================================================== |phoenix_title| **CrustFrame** ========================================================================================================================================== Frame containing all the PyCrust components. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **CrustFrame** .. raw:: html

Inheritance diagram of CrustFrame

| |sub_classes| Known Subclasses ============================== :class:`py.crustslices.CrustSlicesFrame` | |super_classes| Known Superclasses ================================== :class:`py.frame.Frame`, :class:`py.frame.ShellFrameMixin` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~py.crust.CrustFrame.__init__` Create CrustFrame instance. :meth:`~py.crust.CrustFrame.DoSaveSettings` :meth:`~py.crust.CrustFrame.LoadSettings` :meth:`~py.crust.CrustFrame.OnAbout` Display an About window. :meth:`~py.crust.CrustFrame.OnClose` Event handler for closing. :meth:`~py.crust.CrustFrame.OnHelp` Show a help dialog. :meth:`~py.crust.CrustFrame.SaveSettings` :meth:`~py.crust.CrustFrame.ToggleTools` Toggle the display of the filling and other tools :meth:`~py.crust.CrustFrame.ToolsShown` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: CrustFrame(frame.Frame, frame.ShellFrameMixin) Frame containing all the PyCrust components. .. method:: __init__(self, parent=None, id=-1, title='PyCrust', pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE, rootObject=None, rootLabel=None, rootIsNamespace=True, locals=None, InterpClass=None, config=None, dataDir=None, \*args, \*\*kwds) Create CrustFrame instance. .. method:: DoSaveSettings(self) .. method:: LoadSettings(self) .. method:: OnAbout(self, event) Display an About window. .. method:: OnClose(self, event) Event handler for closing. .. method:: OnHelp(self, event) Show a help dialog. .. method:: SaveSettings(self, force=False) .. method:: ToggleTools(self) Toggle the display of the filling and other tools .. method:: ToolsShown(self)