AppChooserButton.setActiveCustomItem

void setActiveCustomItem(string name)

Selects a custom item previously added with gtk.app_chooser_button.AppChooserButton.appendCustomItem.

Use gtk.app_chooser.AppChooser.refresh to bring the selection to its initial state.

Parameters

namethe name of the custom item