SplashWindow
The SplashWindow scripting namespace contains functions for controlling the SLADE splash window.
Functions
show
string message : The message to show[boolean progress :false]: Whether to show the progress bar
Shows the splash window with true, a progress bar will be shown on the splash window (see progress, setProgressMessage, setProgress below).
hide
Hides the splash window if it is currently showing.
update
Updates and redraws the splash window.
progress
Returns
Returns the current progress bar progress. This is a floating point number between 0.0 (empty) and 1.0 (full).
setMessage
string message : The message to show
Sets the splash window message to
setProgressMessage
string message : The progress bar message to show
Sets the small message within the progress bar to
setProgress
number progress : The progress amount
Sets the progress bar progress amount. This is a floating point number between 0.0 (empty) and 1.0 (full).