l.c.c.u.LoggingTextProgressView(TextProgressView) : class documentation

Part of lp.codehosting.codeimport.uifactory View In Hierarchy

Support class for LoggingUIFactory.
Method __init__ See LoggingUIFactory.__init__ for descriptions of the parameters.
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 _show_line Undocumented
Method _render_bar Undocumented
Method _render_line Undocumented
Method _format_transport_msg Undocumented
def __init__(self, time_source, writer, interval):
See LoggingUIFactory.__init__ for descriptions of the parameters.
def _show_line(self, s):
Undocumented
def _render_bar(self):
Undocumented
def _render_line(self):
Undocumented
def _format_transport_msg(self, scheme, dir_char, rate):
Undocumented
def show_progress(self, task):
Called by the task object when it has changed.
ParameterstaskThe top task object; its parents are also included by following links.
def show_transport_activity(self, transport, direction, byte_count):
Called by transports via the ui_factory, as they do IO.

This may update a progress bar, spinner, or similar display. By default it does nothing.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.