GtkFileChooserDialog

GtkFileChooserDialog

Synopsis

#include <gtk/gtk.h>

                    GtkFileChooserDialog;
GtkWidget *         gtk_file_chooser_dialog_new         (const gchar *title,
                                                         GtkWindow *parent,
                                                         GtkFileChooserAction action,
                                                         const gchar *first_button_text,
                                                         ...);

Description

Details

GtkFileChooserDialog

typedef struct {
  GtkDialog parent_instance;

  GtkFileChooserDialogPrivate *priv;
} GtkFileChooserDialog;


gtk_file_chooser_dialog_new ()

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 :

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