$statusbar » History » Version 5
Per Amundsen, 11/11/2015 09:43 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.3_ |
|---|---|---|---|
| 2 | |||
| 3 | *$statusbar* |
||
| 4 | |||
| 5 | 2 | Per Amundsen | Returns [[$true]] if [[/statusbar|Statusbar]] is visible, otherwise [[$false]]. |
| 6 | 3 | Per Amundsen | |
| 7 | _Added in 1.9.7_ |
||
| 8 | |||
| 9 | *$statusbar(name|N)* |
||
| 10 | |||
| 11 | 5 | Per Amundsen | Returns the Statusbar item matching name or the Nth item, if N = 0, number of Statusbar items. |
| 12 | 3 | Per Amundsen | |
| 13 | *Parameters* |
||
| 14 | |||
| 15 | name|N - Statusbar item name or the Nth item. |
||
| 16 | |||
| 17 | *Properties* |
||
| 18 | |||
| 19 | .name - Item name. |
||
| 20 | .text - Item text. |
||
| 21 | .icon - [[$true]] if the item has a icon, otherwise [[$false]]. |
||
| 22 | .visible - [[$true]] if the item is visible, otherwise [[$false]]. |
||
| 23 | .custom - [[$true]] if the item is custom, otherwise [[$false]]. |
||
| 24 | .tooltip - Item tooltip. |
||
| 25 | .alias - Item alias. |
||
| 26 | 4 | Per Amundsen | .popup - Item popup name. |
| 27 | 3 | Per Amundsen | |
| 28 | *Example* |
||
| 29 | |||
| 30 | <pre> |
||
| 31 | ; Print number of Statusbar items. |
||
| 32 | //echo -ag $statusbar(0) |
||
| 33 | |||
| 34 | ; Print the first Statusbar item name. |
||
| 35 | //echo -ag $statusbar(1) |
||
| 36 | </pre> |