![]() |
![]() |
![]() |
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
GeditFileChooserDialog implements AtkImplementorIface, GtkBuildable and GtkFileChooser.
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 of the dialog, or NULL
|
|
Transient parent of the dialog, or NULL
|
|
Open or save mode for the dialog |
|
|
|
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);
|
|
|