1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| GtkWidget *
gtk_file_chooser_dialog_new (const gchar *title,
GtkWindow *parent,
GtkFileChooserAction action,
const gchar *first_button_text,
...);
Creates a new GtkFileChooserDialog. This function is analogous to gtk_dialog_new_with_buttons().
Parameters
title
Title of the dialog, or NULL.
[allow-none]
parent
Transient parent of the dialog, or NULL.
[allow-none]
action
Open or save mode for the dialog
first_button_text
stock ID or text to go in the first button, or NULL.
[allow-none]
...
response ID for the first button, then additional (button, id) pairs, ending with NULL
Returns
a new GtkFileChooserDialog
Since: 2.4 |
Partager