Optional ReadonlylocationWhere the button is rendered (default: the title bar).
Ignored for buttons attached to an item via PickItemDisplay.buttons — VS Code always renders those inline on the item itself.
Optional ReadonlytoggledMakes this a toggle button with the given initial checked state.
VS Code updates checked in place on the returned button before
firing its trigger event, so read the state back off the same button
object inside the handler rather than tracking it separately.
Optional ReadonlytooltipTooltip shown when hovering over the button.
Options accepted by toPickButton.