Project

General

Profile

$statusbar » History » Version 3

Per Amundsen, 09/05/2015 01:01 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
Returns the Statusbar item matching name or the Nth item.
12
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
27
*Example*
28
29
<pre>
30
; Print number of Statusbar items.
31
//echo -ag $statusbar(0)
32
33
; Print the first Statusbar item name.
34
//echo -ag $statusbar(1)
35
</pre>