Package pallavi :: Module pallavi :: Class Pallavi
[hide private]
[frames] | no frames]

Class Pallavi

source code


Instance Methods [hide private]
 
RunPallavi(self, args)
Begin running Pallavi.
source code
 
ViewFocused(self, event)
called whenever a view is focused
source code
 
ViewClosed(self, event)
callback when a view is closed; cleans up after it and exits if no views remain
source code
 
NewView(self, data=None)
Opens a brand now edit window and focuses it
source code
 
CloseView(self, data=None)
Closes the currently focused view
source code
 
AddDockPane(self, panel, caption)
Add a panel to the list of dockpanes.
source code
 
ToggleDockPane(self, caption=None)
Action to toggle the visibility of a docking pane by caption.
source code
 
nextUntitled(self)
Return an ID for the next untitled filename for this view
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  __nextUntitled = 0
  views = []
  eventBus = <pallavi.EventActionManager.EventBus object at 0x9e...
  actions = {}
  dockWindows = {}
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

RunPallavi(self, args)

source code 
Begin running Pallavi. args is a list of command-line arguments to be passed to the programm

AddDockPane(self, panel, caption)

source code 
Add a panel to the list of dockpanes. Looks up the location for the dockpane in the configuration file and adds it to the currently focused view.

ToggleDockPane(self, caption=None)

source code 
Action to toggle the visibility of a docking pane by caption. If it is currently visible and attached to the focused view, it will be hidden. Otherwise, it will be attached to the current view and shown.

Class Variable Details [hide private]

eventBus

Value:
EventActionManager.EventBus()