Phoenix Logo

phoenix_title wx.py.sliceshell.SlicesShellFrame

Frame containing the sliceshell component.


class_hierarchy Class Hierarchy

Inheritance diagram for class SlicesShellFrame:


method_summary Methods Summary

__init__ Create SlicesShellFrame instance.
bufferClose Close buffer.
bufferCreate Create new buffer.
bufferDestroy Destroy the current buffer.
bufferHasChanged Return True if buffer has changed since last save.
bufferNew Create new buffer.
bufferOpen Open file in buffer.
bufferSave Save buffer to its file.
bufferSaveACopy Save buffer to a new filename.
bufferSaveAs Save buffer to a new filename.
bufferSuggestSave Suggest saving changes. Return True if user selected Cancel.
DoSaveSettings  
hasBuffer Return True if there is a current buffer.
LoadSettings  
OnAbout Display an About window.
OnClose Event handler for closing.
OnEnableShellMode Change between Slices Mode and Shell Mode
OnHelp Show a help dialog.
OnHideFoldingMargin Change between Slices Mode and Shell Mode
OnIdle Event handler for idle time.
SaveSettings  
simpleSave  
updateNamespace Update the buffer namespace for autocompletion and calltips.

api Class API



class SlicesShellFrame(frame.Frame, frame.ShellFrameMixin)

Frame containing the sliceshell component.


Methods



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


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)


simpleSave(self, confirmed=False)


updateNamespace(self)

Update the buffer namespace for autocompletion and calltips.