ironflow.gui.log module

Control the underlying Ryven logging system, and route logs to a widget.

class ironflow.gui.log.LogController(*args, **kwargs)[source]

Bases: object

Singleton pattern ensures that whatever sys.stdout/err was at the beginning of the session gets preserved.

clear_log()[source]
log_to_display()[source]
log_to_stdout()[source]
property output
class ironflow.gui.log.LogGUI(*args, **kwargs)[source]

Bases: DrawsWidgets

A class that can redirect stdout and stderr to a widget, and gives controls for both this and toggling the Ryven logger.

log_to_display()[source]
log_to_stdout()[source]
main_widget_class

alias of VBox

property output
class ironflow.gui.log.StdOutPut[source]

Bases: TextIOBase

Helper class that can be assigned to stdout and/or stderr, passing string to a widget

write(s)[source]

Write string to stream. Returns the number of characters written (which is always equal to the length of the string).