OptionalargsOptionalcategoryThe category for the launcher item.
The default value is an empty string.
The command ID for the launcher item.
If the command's execute method returns a Widget or
a promise that resolves with a Widget, then that widget will
replace the launcher in the same location of the application
shell. If the execute method does something else
(i.e., create a modal dialog), then the launcher will not be
disposed.
OptionalkernelFor items that have a kernel associated with them, the URL of the kernel icon.
This is not a CSS class, but the URL that points to the icon in the kernel spec.
OptionalmetadataMetadata about the item. This can be used by the launcher to affect how the item is displayed.
OptionalrankThe rank for the launcher item.
The rank is used when ordering launcher items for display. After grouping into categories, items are sorted in the following order:
The default rank is Infinity.
The options used to create a launcher item.