Skip to content

Bases: Event

Sent to a widget that is capturing print.

  • Bubbles
  • Verbose

Parameters:

Name Type Description Default

text

str

Text that was printed.

required

stderr

bool

True if the print was to stderr, or False for stdout.

False
Note

Python's print output can be captured with App.begin_capture_print.

stderr instance-attribute

stderr = stderr

True if the print was to stderr, or False for stdout.

text instance-attribute

text = text

The text that was printed.