AppChooserButton.appendCustomItem

Appends a custom item to the list of applications that is shown in the popup; the item name must be unique per-widget. Clients can use the provided name as a detail for the custom-item-activated signal, to add a callback for the activation of a particular custom item in the list. See also AppChooserButton.appendSeparator.

class AppChooserButton
void
appendCustomItem
(
string name
,
string label
,)

Parameters

name string

the name of the custom item

label string

the label for the custom item

icon IconIF

the icon for the custom item

Meta