<vizact>.onexit

Register exit function

 

<vizact>.onexit(
    func    
    *args    

)

 

func

The function to call


*args

Arguments to pass to the function


Remarks

When Vizard exits the function will be called.

Return Value

None

Example

def bye():
    print 'good bye'
vizact.onexit(bye)