StatusBarItem

StdWin. StatusBarItem

StatusBarItem

Constructor

new StatusBarItem()

A StatusBarItem object

Methods

height() → {Promise.<number>}

Gets the height of the status bar item.
Returns:
a promise fulfilled with the height of the status bar item.
Type
Promise.<number>

text() → {Promise.<string>}

Gets the text of the status bar item.
Returns:
a promise fulfilled with the text of the status bar item.
Type
Promise.<string>

width() → {Promise.<number>}

Gets the width of the status bar item.
Returns:
a promise fulfilled with the height of the status bar item.
Type
Promise.<number>

x() → {Promise.<number>}

Gets the x-coordinate of the status bar item.
Returns:
a promise fulfilled with the x-coordinate of the status bar item.
Type
Promise.<number>

y() → {Promise.<number>}

Gets the y-coordinate of the status bar item.
Returns:
a promise fulfilled with the y-coordinate of the status bar item.
Type
Promise.<number>