Package ViewerFramework :: Module basicCommand :: Class ExitCommand
[hide private]
[frames] | no frames]

Class ExitCommand

source code

VFCommand.Command --+
                    |
                   ExitCommand

Command to destroy application
    
Package : ViewerFramework
    
Module : basicCommand.py
    
Class : ExitCommand
    
Command : Exit
     
Synopsis:
   
        None<---Exit(ask)
        
ask = Flag when set to 1 a form asking you if you really want to quit
              will popup, it will quit directly if set to 0
    



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  logObjectTransformations(self, object)
  logObjectMaterial(self, object)
  logCameraTransformations(self, camera)
  logCameraProp(self, camera)
  logLightTransformations(self, light)
  logLightProp(self, light)
  logClipTransformations(self, clip)
  logClipProp(self, clip)
  logAddClipPlanes(self, object)
  logScene(self)
  __call__(self, ask, **kw)
None <- Exit(ask, **kw) ask = Flag when set to 1 a form asking you if you really want to quit will popup, it will quit directly if set to 0.
  doit(self, ask)
virtual method.
  quit_cb(self)
  cancel_cb(self)
  guiCallback(self)
Default callback function called by the gui
  askquit(self)

Inherited from VFCommand.Command: __init__, __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildFormDescr, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, log, logString, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, setupUndoBefore, showForm, strArg, tkCb, updateGeom, warningMsg

Inherited from VFCommand.Command (private): _strArg


Class Variables [hide private]

Inherited from VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

onAddCmdToViewer(self)

source code 
method called when an instance of this command is added to the viewer. This enable viewer-addition time initializations
Overrides: VFCommand.Command.onAddCmdToViewer
(inherited documentation)

logObjectTransformations(self, object)

source code 
None

logObjectMaterial(self, object)

source code 
None

logCameraTransformations(self, camera)

source code 
None

logCameraProp(self, camera)

source code 
None

logLightTransformations(self, light)

source code 
None

logLightProp(self, light)

source code 
None

logClipTransformations(self, clip)

source code 
None

logClipProp(self, clip)

source code 
None

logAddClipPlanes(self, object)

source code 
None

logScene(self)

source code 
None

__call__(self, ask, **kw)
(Call operator)

source code 
None <- Exit(ask, **kw)
        
ask = Flag when set to 1 a form asking you if you really want to quit
              will popup, it will quit directly if set to 0.
        

Overrides: VFCommand.Command.__call__

doit(self, ask)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: VFCommand.Command.doit
(inherited documentation)

quit_cb(self)

source code 
None

cancel_cb(self)

source code 
None

guiCallback(self)

source code 
Default callback function called by the gui
Overrides: VFCommand.Command.guiCallback
(inherited documentation)

askquit(self)

source code 
None