window
index
d:\cruisecontrol\game-client-system\game\scripts\window.py

 
Modules
       
GUI
SystemHandler
const

 
Classes
       
Window

 
class Window
     Methods defined here:
callback(self, source, event, message)
callnext(self, message)
load_windows(self)
will load all the device windows setup
log(self, str, type=0, newline=True)
log_attempt(self, msg)
log_failure(self, with_progress=True, message='')
log_message(self, message='')
log_progress(self)
log_success(self, with_progress=True, message='')
place_window(self, name)
will register the window
save_windows(self)
will save the device window setup

 
Functions
       
log(str, type=0, newline=True)
Will write str into log
log_attempt(msg)
Will log an attempt message then call log_progress()
Follow through by calling log_success() or log_failure()
log_failure(with_progress=True, message='')
Will log an attempt message
Follow through by calling log_success() or log_failure()
log_message(message, newline=True)
log_progress()
log_success(with_progress=True, message='')
Will log an attempt message
Follow through by calling log_success() or log_failure()

 
Data
        LOG_ERROR = 2
LOG_FAULT = 3
LOG_MESSAGE = 0
LOG_WARNING = 1