We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should put the progress feedback from the sensorless AO optimisation into the status bar not just printed into the stdout.
The text was updated successfully, but these errors were encountered:
To do this, the code needs to first register a "light" name by emitting an event with an empty message. Like so:
AO_LIGHT_NAME = "sensorless AO feedback" cockpit.events.publish(cockpit.events.UPDATE_STATUS_LIGHT, AO_LIGHT_NAME, "")
From then on, there will a field of the status bar that will display messages from that:
cockpit.events.publish(cockpit.events.UPDATE_STATUS_LIGHT, AO_LIGHT_NAME, "some update")
Any message will colour the status bar. When it is done, it should send an empty message so that the status bar reverts back to background colour:
cockpit.events.publish(cockpit.events.UPDATE_STATUS_LIGHT, AO_LIGHT_NAME, "")
Sorry, something went wrong.
Since this work has been merged into the microscope-aotools package instead, I have migrated the issue to this repo.
No branches or pull requests
We should put the progress feedback from the sensorless AO optimisation into the status bar not just printed into the stdout.
The text was updated successfully, but these errors were encountered: