Gtk.AppChooserDialog.new_for_content_type

function new_for_content_type(parent:Gtk.Window, flags:Gtk.DialogFlags, content_type:String):Gtk.Widget {
    // Gjs wrapper for gtk_app_chooser_dialog_new_for_content_type()
}

Creates a new Gtk.AppChooserDialog for the provided content type, to allow the user to select an application for it.

Since 3.0

parent

a Gtk.Window, or null

flags

flags for this dialog

content_type

a content type string

Returns

a newly created Gtk.AppChooserDialog