append_custom_item


Description:

[ Version ( since = "3.0" ) ]
public void append_custom_item (string name, string label, 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 custom_item_activated signal, to add a callback for the activation of a particular custom item in the list. See also append_separator.

Parameters:

this

a AppChooserButton

name

the name of the custom item

label

the label for the custom item

icon

the icon for the custom item