Part of bzrlib.ui.text View In Hierarchy
This shows one line of text, including possibly a network indicator, spinner, progress bar, message, etc.
One instance of this is created and held by the UI, and fed updates when a task wants to be painted.
Transports feed data to this through the ui_factory object.
The Progress views can comprise a tree with _parent_task pointers, but this only prints the stack from the nominated current task up to the root.
Method | __init__ | Undocumented |
Method | clear | Undocumented |
Method | show_progress | Called by the task object when it has changed. |
Method | show_transport_activity | Called by transports via the ui_factory, as they do IO. |
Method | log_transport_activity | Undocumented |
Method | _avail_width | Undocumented |
Method | _show_line | Undocumented |
Method | _render_bar | Undocumented |
Method | _format_task | Format task-specific parts of progress bar. |
Method | _render_line | Undocumented |
Method | _repaint | Undocumented |
Method | _format_bytes_by_direction | Undocumented |
Returns | (text_part, counter_part) both unicode strings. |
Parameters | task | The top task object; its parents are also included by following links. |