Package imagizer :: Module dirchooser :: Class WarningSc
[hide private]
[frames] | no frames]

Class WarningSc

source code

Print a warning before starting the program and allows to change the working directory

Instance Methods [hide private]
 
__init__(self, directory, window='dialog-warning', manageGTK=True, callBack=None)
Print a small dialog screen
source code
 
continu(self, *args)
Just destroy the window and goes on ....
source code
 
destroy(self, *args)
Destroy clicked by user -> quit the program
source code
 
filer(self, *args)
Launch the filer GUI to choose the root directory
source code
 
filerSelect(self, *args)
Close the filer GUI and update the data
source code
 
filerDestroy(self, *args)
Close the filer GUI
source code
 
getDirectory(self)
Return the directory chosen
source code
Method Details [hide private]

__init__(self, directory, window='dialog-warning', manageGTK=True, callBack=None)
(Constructor)

source code 

Print a small dialog screen

Parameters:
  • callBack (method or function) - method to be called with the directory chosen