Constructor

GtkAppChooserDialognew

since: 3.0

Declaration [src]

GtkWidget*
gtk_app_chooser_dialog_new (
  GtkWindow* parent,
  GtkDialogFlags flags,
  GFile* file
)

Description [src]

Creates a new GtkAppChooserDialog for the provided GFile, 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.

file

Type: GFile

A GFile.

The data is owned by the caller of the function.

Return value

Type: GtkWidget

A newly created GtkAppChooserDialog.

The data is owned by the called function.