AppChooserButton.appendCustomItem
void appendCustomItem(string name, string label, gio.icon.Icon icon)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 gtk.app_chooser_button.AppChooserButton.customItemActivated signal, to add a callback for the activation of a particular custom item in the list.
See also gtk.app_chooser_button.AppChooserButton.appendSeparator.
Parameters
name | the name of the custom item |
label | the label for the custom item |
icon | the icon for the custom item |
Deprecated
This widget will be removed in GTK 5