Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | xed_file_chooser_dialog_new () |
void | xed_file_chooser_dialog_set_encoding () |
const GtkSourceEncoding * | xed_file_chooser_dialog_get_encoding () |
void | xed_file_chooser_dialog_set_newline_type () |
GtkSourceNewlineType | xed_file_chooser_dialog_get_newline_type () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── GtkDialog ╰── GtkFileChooserDialog ╰── XedFileChooserDialog
GtkWidget * xed_file_chooser_dialog_new (const gchar *title
,GtkWindow *parent
,GtkFileChooserAction action
,const GtkSourceEncoding *encoding
,const gchar *first_button_text
,...
);
Creates a new XedFileChooserDialog. This function is analogous to
gtk_dialog_new_with_buttons()
.
title |
Title of the dialog, or |
[allow-none] |
parent |
Transient parent of the dialog, or |
[allow-none] |
action |
Open or save mode for the dialog |
|
encoding |
a GtkSourceEncoding to pre-select. |
[allow-none] |
first_button_text |
stock ID or text to go in
the first button, or |
[allow-none] |
... |
response ID for the first button, then
additional (button, id) pairs, ending with |
[allow-none] |
void xed_file_chooser_dialog_set_encoding (XedFileChooserDialog *dialog
,const GtkSourceEncoding *encoding
);
const GtkSourceEncoding *
xed_file_chooser_dialog_get_encoding (XedFileChooserDialog *dialog
);
void xed_file_chooser_dialog_set_newline_type (XedFileChooserDialog *dialog
,GtkSourceNewlineType newline_type
);
GtkSourceNewlineType
xed_file_chooser_dialog_get_newline_type
(XedFileChooserDialog *dialog
);