![]() |
![]() |
![]() |
GTK+ 3 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <gtk/gtk.h> GtkFileChooserDialog; GtkWidget * gtk_file_chooser_dialog_new (const gchar *title
,GtkWindow *parent
,GtkFileChooserAction action
,const gchar *first_button_text
,...
);
typedef struct { GtkDialog parent_instance; GtkFileChooserDialogPrivate *priv; } GtkFileChooserDialog;
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()
.
|
Title of the dialog, or NULL . [allow-none]
|
|
Transient parent of the dialog, or NULL . [allow-none]
|
|
Open or save mode for the dialog |
|
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