.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2020 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.py.crust

.. highlight:: python



.. _wx.py.crust.CrustFrame:

==========================================================================================================================================
|phoenix_title|  **wx.py.crust.CrustFrame**
==========================================================================================================================================

Frame containing all the PyCrust components.



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
   <img id="toggleBlock-trigger" src="_static/images/closed.png"/>
   Inheritance diagram for class <strong>CrustFrame</strong>:
   </div>
   <div id="toggleBlock-summary" style="display:block;"></div>
   <div id="toggleBlock-content" style="display:none;">
   <p class="graphviz">
   <center><img src="_static/images/inheritance/wx.py.crust.CrustFrame_inheritance.png" alt="Inheritance diagram of CrustFrame" usemap="#dummy" class="inheritance"/></center>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.py.crust.CrustFrame.html" title="wx.py.crust.CrustFrame" alt="" coords="123,624,297,653"/> <area shape="rect" id="node2" href="wx.py.frame.Frame.html" title="wx.py.frame.Frame" alt="" coords="35,547,182,576"/> <area shape="rect" id="node3" href="wx.py.frame.ShellFrameMixin.html" title="wx.py.frame.ShellFrameMixin" alt="" coords="206,547,419,576"/> <area shape="rect" id="node4" href="wx.Frame.html" title="wx.Frame" alt="" coords="66,469,151,499"/> <area shape="rect" id="node5" href="wx.TopLevelWindow.html" title="wx.TopLevelWindow" alt="" coords="31,392,186,421"/> <area shape="rect" id="node6" href="wx.NonOwnedWindow.html" title="wx.NonOwnedWindow" alt="" coords="25,315,193,344"/> <area shape="rect" id="node7" href="wx.Window.html" title="wx.Window" alt="" coords="60,237,157,267"/> <area shape="rect" id="node8" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="44,160,173,189"/> <area shape="rect" id="node9" href="wx.EvtHandler.html" title="wx.EvtHandler" alt="" coords="50,83,167,112"/> <area shape="rect" id="node10" href="wx.Object.html" title="wx.Object" alt="" coords="5,5,92,35"/> <area shape="rect" id="node11" href="wx.Trackable.html" title="wx.Trackable" alt="" coords="117,5,223,35"/> </map> 
   </p>
   </div>

|


|sub_classes| Known Subclasses
==============================

:class:`wx.py.crustslices.CrustSlicesFrame`

|


|super_classes| Known Superclasses
==================================

:class:`wx.py.frame.Frame`, :class:`wx.py.frame.ShellFrameMixin`

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.py.crust.CrustFrame.__init__`                                         Create CrustFrame instance.
:meth:`~wx.py.crust.CrustFrame.DoSaveSettings`                                   
:meth:`~wx.py.crust.CrustFrame.LoadSettings`                                     Called by derived classes to load settings specific to the Frame
:meth:`~wx.py.crust.CrustFrame.OnAbout`                                          Display an About window.
:meth:`~wx.py.crust.CrustFrame.OnClose`                                          Event handler for closing.
:meth:`~wx.py.crust.CrustFrame.OnHelp`                                           Show a help dialog.
:meth:`~wx.py.crust.CrustFrame.SaveSettings`                                     Called by derived classes to save Frame settings to a wx.Config object
:meth:`~wx.py.crust.CrustFrame.ToggleTools`                                      Toggle the display of the filling and other tools
:meth:`~wx.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=wx.DefaultPosition, size=wx.DefaultSize, style=wx.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)

      Called by derived classes to load settings specific to the Frame


   .. 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)

      Called by derived classes to save Frame settings to a wx.Config object


   .. method:: ToggleTools(self)

      Toggle the display of the filling and other tools


   .. method:: ToolsShown(self)


