Member variable XbpStatusBarPanel():style Foundation
Specifies the style of an XbpStatusBarPanel object.
A status bar panel can display an arbitrary status message and image. Also, several pre-defined status bar panel styles exist which can be selected by assigning one of following constants to the :style instance variable:
Constant | Description |
---|---|
XBPSTATUSBAR_PANEL_TEXT *) | Panel displays status text |
XBPSTATUSBAR_PANEL_CAPSLOCK | Panel displays status of CAPSLOCK key |
XBPSTATUSBAR_PANEL_NUMLOCK | Panel displays status of NUMLOCK key |
XBPSTATUSBAR_PANEL_INSERT | Panel displays status of INSERT key |
XBPSTATUSBAR_PANEL_SCROLL | Panel displays status of SCROLL LOCK key |
XBPSTATUSBAR_PANEL_TIME | Panel displays current time |
XBPSTATUSBAR_PANEL_DATE | Panel displays current date |
|
The style of a given XbpStatusBarPanel object can be specified using the <nStyle> parameter to XbpStatusBar:addItem(). Alternatively, a panel's :style instance variable may be used to change its style after it has already been added to an XbpStatusBar instance. In addition to textual status information as described above, a status bar panel can also display an application-defined image. Images must be defined using the :image instance variable.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.