The SardanaInfoViewer opens a text widget displaying the output sent to the info stream. The idea is to capture the informational output produced by macros in a dedicated widget.
The InfoViewer server can be launched from a Unix shell
p10user@haspp10e2:~/temp$ SardanaInfoViewer.py &
The output displayed in figure has been produced
by this macro:
#!/usr/bin/env python from sardana.macroserver.macro import Macro, Type class infoTest(Macro): param_def = [] def run(self): self.info("this line of text is sent self.info()")