Project

General

Profile

Actions

$toolbar » History » Revision 8

« Previous | Revision 8/15 (diff) | Next »
Per Amundsen, 01/02/2019 05:29 AM


Added in 1.9.3

$toolbar

Returns $true if Toolbar is visible, otherwise $false.


$toolbar(name||N)

Returns properties for a Toolbar button.

Parameters

name||N - Toolbar item name or the Nth item, if N = 0, number of Toolbar items.

Properties

.name - Toolbar item name.
.type - button or separator.
.tip - Toolbar tooltip text.
.alias - Toolbar alias.
.popup - Toolbar popup name.
.width - Toolbar item width.
.height - Toolbar item height.
.wide - TODO ($true)
.enabled - $true if the Toolbar item is enabled, otherwise $false.
.visible - $true if the Toolbar item is visible, otherwise $false.
.checked - $true if the Toolbar item is checked, otherwise $false.
.alpha - TODO (0)
.x - Horizontal position of the toolbar item relative to the main AdiIRC window.
.y - Vertical position of the toolbar item relative to the main AdiIRC window.
.w - Toolbar item width.
.h - Toolbar item height.
.dx - Horizontal position of the toolbar item relative to the desktop.
.dy - Vertical position of the toolbar item relative to the desktop.

Example

; Print number of Toolbar items.
//echo -ag $toolbar(0)

; Print the first Toolbar item name.
//echo -ag $toolbar(1)

Updated by Per Amundsen over 5 years ago · 8 revisions

Also available in: PDF HTML TXT