![]() |
![]() |
![]() |
gedit Reference Manual | ![]() |
---|---|---|---|---|
GeditFileChooserDialogPrivate; GeditFileChooserDialog; GtkWidget* gedit_file_chooser_dialog_new (const gchar *title, GtkWindow *parent, GtkFileChooserAction action, const GeditEncoding *encoding, const gchar *first_button_text, ...); void gedit_file_chooser_dialog_set_encoding (GeditFileChooserDialog *dialog, const GeditEncoding *encoding);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkFileChooserDialog +----GeditFileChooserDialog
typedef struct _GeditFileChooserDialogPrivate GeditFileChooserDialogPrivate;
GtkWidget* gedit_file_chooser_dialog_new (const gchar *title, GtkWindow *parent, GtkFileChooserAction action, const GeditEncoding *encoding, const gchar *first_button_text, ...);
Creates a new GeditFileChooserDialog. This function is analogous to
gtk_dialog_new_with_buttons()
.
title : |
Title of the dialog, or NULL
|
parent : |
Transient parent of the dialog, or NULL
|
action : |
Open or save mode for the dialog |
encoding : |
|
first_button_text : |
stock ID or text to go in the first button, or NULL
|
... : |
response ID for the first button, then additional (button, id) pairs, ending with NULL
|
Returns : | a new GeditFileChooserDialog |
void gedit_file_chooser_dialog_set_encoding (GeditFileChooserDialog *dialog, const GeditEncoding *encoding);
dialog : |
|
encoding : |