traitsui.editors.progress_editor module

Defines the progress editor factory for all traits toolkit backends,

class traitsui.editors.progress_editor.ProgressEditor(*args, **traits)[source]

Bases: EditorFactory

Editor factory for code editors.

can_cancel = Bool(False)

If the cancel button should be shown (not very sensible as an editor)

max = Int()

The ending value

max_name = Str()

The name of an [object.]trait that defines the ending value

message = Str()

The message to be displayed along side the progress guage

message_name = Str()

The name of an [object.]trait that defines the message string

min = Int()

The starting value

min_name = Str()

The name of an [object.]trait that defines the starting value

show_percent = Bool(False)

if the percent complete should be shown

show_time = Bool(False)

If the estimated time should be shown (not very sensible as an editor)

title = Str()

The title

traitsui.editors.progress_editor.ToolkitEditorFactory

alias of ProgressEditor