$statusbar » History » Version 6
Per Amundsen, 06/02/2017 05:53 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 | 6 | Per Amundsen | _See also [[/statusbar]]._ |
14 | |||
15 | 3 | Per Amundsen | *Parameters* |
16 | |||
17 | name|N - Statusbar item name or the Nth item. |
||
18 | |||
19 | *Properties* |
||
20 | |||
21 | .name - Item name. |
||
22 | .text - Item text. |
||
23 | .icon - [[$true]] if the item has a icon, otherwise [[$false]]. |
||
24 | .visible - [[$true]] if the item is visible, otherwise [[$false]]. |
||
25 | .custom - [[$true]] if the item is custom, otherwise [[$false]]. |
||
26 | .tooltip - Item tooltip. |
||
27 | .alias - Item alias. |
||
28 | 4 | Per Amundsen | .popup - Item popup name. |
29 | 3 | Per Amundsen | |
30 | *Example* |
||
31 | |||
32 | <pre> |
||
33 | ; Print number of Statusbar items. |
||
34 | //echo -ag $statusbar(0) |
||
35 | |||
36 | ; Print the first Statusbar item name. |
||
37 | //echo -ag $statusbar(1) |
||
38 | </pre> |