Gtk.AppChooserButton.new

function new(content_type:String):Gtk.Widget {
    // Gjs wrapper for gtk_app_chooser_button_new()
}

Creates a new Gtk.AppChooserButton for applications that can handle content of the given type.

Since 3.0

content_type

the content type to show applications for

Returns

a newly created Gtk.AppChooserButton