Constructor
GtkFileChooserNativenew
since: 3.20
Declaration [src]
GtkFileChooserNative*
gtk_file_chooser_native_new (
const gchar* title,
GtkWindow* parent,
GtkFileChooserAction action,
const gchar* accept_label,
const gchar* cancel_label
)
Parameters
title
-
Type:
const gchar*
Title of the native, or
NULL
.The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. parent
-
Type:
GtkWindow
Transient parent of the native, or
NULL
.The argument can be NULL
.The data is owned by the caller of the function. action
-
Type:
GtkFileChooserAction
Open or save mode for the dialog.
accept_label
-
Type:
const gchar*
Text to go in the accept button, or
NULL
for the default.The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. cancel_label
-
Type:
const gchar*
Text to go in the cancel button, or
NULL
for the default.The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: GtkFileChooserNative
A new GtkFileChooserNative
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |