Constructor

GtkAppChooserDialognew_for_content_type

since: 3.0

Declaration [src]

GtkWidget*
gtk_app_chooser_dialog_new_for_content_type (
  GtkWindow* parent,
  GtkDialogFlags flags,
  const gchar* content_type
)

Description [src]

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

Available since: 3.0

Parameters

parent

Type: GtkWindow

A GtkWindow, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
flags

Type: GtkDialogFlags

Flags for this dialog.

content_type

Type: const gchar*

A content type string.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GtkWidget

A newly created GtkAppChooserDialog.

The data is owned by the called function.