1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
|
.. 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.crustslices
.. highlight:: python
.. _wx.py.crustslices.CrustSlicesFrame:
==========================================================================================================================================
|phoenix_title| **wx.py.crustslices.CrustSlicesFrame**
==========================================================================================================================================
Frame containing all the PySlices 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>CrustSlicesFrame</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.crustslices.CrustSlicesFrame_inheritance.png" alt="Inheritance diagram of CrustSlicesFrame" 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.crustslices.CrustSlicesFrame.html" title="wx.py.crustslices.CrustSlicesFrame" alt="" coords="86,701,334,731"/> <area shape="rect" id="node2" href="wx.py.crust.CrustFrame.html" title="wx.py.crust.CrustFrame" alt="" coords="123,624,297,653"/> <area shape="rect" id="node3" href="wx.py.frame.Frame.html" title="wx.py.frame.Frame" alt="" coords="35,547,182,576"/> <area shape="rect" id="node4" href="wx.py.frame.ShellFrameMixin.html" title="wx.py.frame.ShellFrameMixin" alt="" coords="206,547,419,576"/> <area shape="rect" id="node5" href="wx.Frame.html" title="wx.Frame" alt="" coords="66,469,151,499"/> <area shape="rect" id="node6" href="wx.TopLevelWindow.html" title="wx.TopLevelWindow" alt="" coords="31,392,186,421"/> <area shape="rect" id="node7" href="wx.NonOwnedWindow.html" title="wx.NonOwnedWindow" alt="" coords="25,315,193,344"/> <area shape="rect" id="node8" href="wx.Window.html" title="wx.Window" alt="" coords="60,237,157,267"/> <area shape="rect" id="node9" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="44,160,173,189"/> <area shape="rect" id="node10" href="wx.EvtHandler.html" title="wx.EvtHandler" alt="" coords="50,83,167,112"/> <area shape="rect" id="node11" href="wx.Object.html" title="wx.Object" alt="" coords="5,5,92,35"/> <area shape="rect" id="node12" href="wx.Trackable.html" title="wx.Trackable" alt="" coords="117,5,223,35"/> </map>
</p>
</div>
|
|super_classes| Known Superclasses
==================================
:class:`wx.py.crust.CrustFrame`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.py.crustslices.CrustSlicesFrame.__init__` Create CrustFrame instance.
:meth:`~wx.py.crustslices.CrustSlicesFrame.bufferClose` Close buffer.
:meth:`~wx.py.crustslices.CrustSlicesFrame.bufferCreate` Create new buffer.
:meth:`~wx.py.crustslices.CrustSlicesFrame.bufferDestroy` Destroy the current buffer.
:meth:`~wx.py.crustslices.CrustSlicesFrame.bufferHasChanged` Return ``True`` if buffer has changed since last save.
:meth:`~wx.py.crustslices.CrustSlicesFrame.bufferNew` Create new buffer.
:meth:`~wx.py.crustslices.CrustSlicesFrame.bufferOpen` Open file in buffer.
:meth:`~wx.py.crustslices.CrustSlicesFrame.bufferSave` Save buffer to its file.
:meth:`~wx.py.crustslices.CrustSlicesFrame.bufferSaveACopy` Save buffer to a new filename.
:meth:`~wx.py.crustslices.CrustSlicesFrame.bufferSaveAs` Save buffer to a new filename.
:meth:`~wx.py.crustslices.CrustSlicesFrame.bufferSuggestSave` Suggest saving changes. Return ``True`` if user selected Cancel.
:meth:`~wx.py.crustslices.CrustSlicesFrame.hasBuffer` Return ``True`` if there is a current buffer.
:meth:`~wx.py.crustslices.CrustSlicesFrame.OnAbout` Display an About window.
:meth:`~wx.py.crustslices.CrustSlicesFrame.OnClose` Event handler for closing.
:meth:`~wx.py.crustslices.CrustSlicesFrame.OnEnableShellMode` Change between Slices Mode and Shell Mode
:meth:`~wx.py.crustslices.CrustSlicesFrame.OnHideFoldingMargin` Change between Slices Mode and Shell Mode
:meth:`~wx.py.crustslices.CrustSlicesFrame.OnIdle` Event handler for idle time.
:meth:`~wx.py.crustslices.CrustSlicesFrame.simpleSave`
:meth:`~wx.py.crustslices.CrustSlicesFrame.updateNamespace` Update the buffer namespace for autocompletion and calltips.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: CrustSlicesFrame(crust.CrustFrame)
Frame containing all the PySlices components.
.. method:: __init__(self, parent=None, id=-1, title='PySlices', 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, filename=None, \*args, \*\*kwds)
Create CrustFrame instance.
.. method:: bufferClose(self)
Close buffer.
.. method:: bufferCreate(self, filename=None)
Create new buffer.
.. method:: bufferDestroy(self)
Destroy the current buffer.
.. method:: bufferHasChanged(self)
Return ``True`` if buffer has changed since last save.
.. method:: bufferNew(self)
Create new buffer.
.. method:: bufferOpen(self,file=None)
Open file in buffer.
.. method:: bufferSave(self)
Save buffer to its file.
.. method:: bufferSaveACopy(self)
Save buffer to a new filename.
.. method:: bufferSaveAs(self)
Save buffer to a new filename.
.. method:: bufferSuggestSave(self)
Suggest saving changes. Return ``True`` if user selected Cancel.
.. method:: hasBuffer(self)
Return ``True`` if there is a current buffer.
.. method:: OnAbout(self, event)
Display an About window.
.. method:: OnClose(self, event)
Event handler for closing.
.. method:: OnEnableShellMode(self,event)
Change between Slices Mode and Shell Mode
.. method:: OnHideFoldingMargin(self,event)
Change between Slices Mode and Shell Mode
.. method:: OnIdle(self, event)
Event handler for idle time.
.. method:: simpleSave(self,confirmed=False)
.. method:: updateNamespace(self)
Update the buffer namespace for autocompletion and calltips.
|