Frame containing the sliceshell component.
wx.py.frame.Frame
, wx.py.frame.ShellFrameMixin
Create SlicesShellFrame instance. |
|
Close buffer. |
|
Create new buffer. |
|
Destroy the current buffer. |
|
Return |
|
Create new buffer. |
|
Open file in buffer. |
|
Save buffer to its file. |
|
Save buffer to a new filename. |
|
Save buffer to a new filename. |
|
Suggest saving changes. Return |
|
Return |
|
Called by derived classes to load settings specific to the Frame |
|
Display an About window. |
|
Event handler for closing. |
|
Change between Slices Mode and Shell Mode |
|
Show a help dialog. |
|
Change between Slices Mode and Shell Mode |
|
Event handler for idle time. |
|
Called by derived classes to save Frame settings to a wx.Config object |
|
Update the buffer namespace for autocompletion and calltips. |
SlicesShellFrame
(frame.Frame, frame.ShellFrameMixin)¶Frame containing the sliceshell component.
__init__
(self, parent=None, id=-1, title='PySlicesShell', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE, locals=None, InterpClass=None, config=None, dataDir=None, filename=None, *args, **kwds)¶Create SlicesShellFrame instance.
bufferClose
(self)¶Close buffer.
bufferCreate
(self, filename=None)¶Create new buffer.
bufferDestroy
(self)¶Destroy the current buffer.
bufferHasChanged
(self)¶Return True
if buffer has changed since last save.
bufferNew
(self)¶Create new buffer.
bufferOpen
(self, file=None)¶Open file in buffer.
bufferSave
(self)¶Save buffer to its file.
bufferSaveACopy
(self)¶Save buffer to a new filename.
bufferSaveAs
(self)¶Save buffer to a new filename.
bufferSuggestSave
(self)¶Suggest saving changes. Return True
if user selected Cancel.
DoSaveSettings
(self)¶hasBuffer
(self)¶Return True
if there is a current buffer.
LoadSettings
(self)¶Called by derived classes to load settings specific to the Frame
OnAbout
(self, event)¶Display an About window.
OnClose
(self, event)¶Event handler for closing.
OnEnableShellMode
(self, event)¶Change between Slices Mode and Shell Mode
OnHelp
(self, event)¶Show a help dialog.
OnHideFoldingMargin
(self, event)¶Change between Slices Mode and Shell Mode
OnIdle
(self, event)¶Event handler for idle time.
SaveSettings
(self, force=False)¶Called by derived classes to save Frame settings to a wx.Config object
simpleSave
(self, confirmed=False)¶updateNamespace
(self)¶Update the buffer namespace for autocompletion and calltips.