Gtk.AppChooserButton.prototype.set_active_custom_item

function set_active_custom_item(name:String):void {
    // Gjs wrapper for gtk_app_chooser_button_set_active_custom_item()
}

Selects a custom item previously added with Gtk.AppChooserButton.prototype.append_custom_item.

Use Gtk.AppChooser.prototype.refresh to bring the selection to its initial state.

Since 3.0

name

the name of the custom item