Project

General

Profile

$statusbar » History » Version 7

Per Amundsen, 08/30/2018 07:34 AM

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