|
Python Script Engine
8.3
GL Studio Editor Python Script API
|
Public Member Functions | |
| ProgressWindow (str title) | |
| ProgressWindow (str title, int minimum, int maximum) | |
| None | IncrementProgress (str label) |
| None | IncrementProgress (str label, int increment) |
| None | SetProgress (str label, int value) |
| None | SetScaledProgress (str label, int value) |
Popup window with a title bar, an info label, and a progress bar.
| ProgressWindow::ProgressWindow | ( | str | title | ) |
Shows a new progress dialog which is modal and has no buttons or icons, with an increment of 1%.
| title | the progress dialog title |
| ProgressWindow::ProgressWindow | ( | str | title, |
| int | minimum, | ||
| int | maximum | ||
| ) |
Shows a new progress dialog which is modal and has no buttons or icons, with the given increment.
| title | the progress dialog title |
| minimum | the beginning progress position |
| maximum | the end progress position, increment = 100.0f / ( maximum - minimum ) |
| None ProgressWindow::IncrementProgress | ( | str | label | ) |
Updates the progress dialog label and increments progress by increment percentage points (default of 1%)
| label | the string to set the progress dialog label to |
| None ProgressWindow::IncrementProgress | ( | str | label, |
| int | increment | ||
| ) |
Updates the progress dialog label and increments the progress by the given percentage points.
| label | the string to set the progress dialog label to |
| increment | the amount to increase the progress by |
| None ProgressWindow::SetProgress | ( | str | label, |
| int | value | ||
| ) |
Updates the progress dialog label and assigns the progress to an exact percentage value.
| label | the string to set the progress dialog label to |
| value | the value to set the progress to |
| None ProgressWindow::SetScaledProgress | ( | str | label, |
| int | value | ||
| ) |
Updates the progress dialog label and assigns the progress to a scaled value i.e.
the value of the progress bar = value * increment (as calculated in the ructor)
| label | the string to set the progress dialog label to |
| value | progress will be set to this value scaled by increment |