Developer Documentation
|
The StatusbarInterface can be used by plugins to send messages to OpenFlippers statusbar. The statusbar is located below the GL viewer.
Messages can be controlled via StatusbarInterface::setStatus(),StatusbarInterface::clearStatusMessage()
Additionally it is possible to add small widgets to it ( StatusbarInterface::addWidgetToStatusbar).
A small icon can be controlled to indicate OpenFlippers status via StatusbarInterface::setStatus().
To use the StatusbarInterface:
The following code shows a simple example to send a message to the statusbar.
The following code shows a simple example to add a widget to the statusbar. Usually you should implement the BaseInterface::pluginsInitialized() function from BaseInterface. In this function you can setup your widget for the status bar.