AppChooserDialog.newForContentType

gtk.app_chooser_dialog.AppChooserDialog newForContentType(gtk.window.Window parent, gtk.types.DialogFlags flags, string contentType)

Creates a new [gtk.app_chooser_dialog.AppChooserDialog] for the provided content type.

The dialog will show applications that can open the content type.

Parameters

parenta [gtk.window.Window]
flagsflags for this dialog
contentTypea content type string

Returns

a newly created [gtk.app_chooser_dialog.AppChooserDialog]

Deprecated

This widget will be removed in GTK 5