Registers the given item. Throws an error, if the corresponding command cannot be found or an item has been already registered for the desired command.
the item to register.
Returns an array of tab-bar toolbar items which are visible when the widget
argument is the current one.
By default returns with all items where the command is enabled and item.isVisible
is true
.
Main, shared registry for tab-bar toolbar items.