Project

General

Profile

$statusbar » History » Revision 4

Revision 3 (Per Amundsen, 09/05/2015 01:01 PM) → Revision 4/13 (Per Amundsen, 10/04/2015 10:15 PM)

_Added in 1.9.3_ 

 *$statusbar* 

 Returns [[$true]] if [[/statusbar|Statusbar]] is visible, otherwise [[$false]]. 

 _Added in 1.9.7_ 

 *$statusbar(name|N)* 

 Returns the Statusbar item matching name or the Nth item. 

 *Parameters* 

 name|N - Statusbar item name or the Nth item. 

 *Properties* 

 .name - Item name. 
 .text - Item text. 
 .icon - [[$true]] if the item has a icon, otherwise [[$false]]. 
 .visible - [[$true]] if the item is visible, otherwise [[$false]]. 
 .custom - [[$true]] if the item is custom, otherwise [[$false]]. 
 .tooltip - Item tooltip. 
 .alias - Item alias. 
 .popup - Item popup name. 

 *Example* 

 <pre> 
 ; Print number of Statusbar items. 
 //echo -ag $statusbar(0) 

 ; Print the first Statusbar item name. 
 //echo -ag $statusbar(1) 
 </pre>