Progress

Inheritance diagram of rumbapy.Progress
class Progress(message='')

Progress Bar dialog widget

Constructors

__init__([message])
canceled()

Returns True if the process has been canceled by the user.

update(ratio, message)

Update the progression state

Parameters:
  • ratio (float) – The progression ratio float between 0.0 and 1.0
  • message (str) – The message to display. Keeps the last message if None or empty
Returns:

True if the loop has been canceled by the user, False if the loop must continue

Return type:

bool