createStatusBarItem

fun createStatusBarItem(id: String, alignment: StatusBarAlignment = definedExternally, priority: Int = definedExternally): StatusBarItem(source)

Creates a status bar item.

Parameters

id

The identifier of the item. Must be unique within the extension.

alignment

The alignment of the item.

priority

The priority of the item. Higher values mean the item should be shown more to the left.


fun createStatusBarItem(alignment: StatusBarAlignment = definedExternally, priority: Int = definedExternally): StatusBarItem(source)

Creates a status bar item.

Parameters

alignment

The alignment of the item.

priority

The priority of the item. Higher values mean the item should be shown more to the left.

See also

for creating a status bar item with an identifier.