XedFileChooserDialog

XedFileChooserDialog

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GtkDialog
                            ╰── GtkFileChooserDialog
                                ╰── XedFileChooserDialog

Implemented Interfaces

XedFileChooserDialog implements AtkImplementorIface, GtkBuildable and GtkFileChooser.

Description

Functions

xed_file_chooser_dialog_new ()

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().

Parameters

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.

[allow-none]

Returns

a new XedFileChooserDialog


xed_file_chooser_dialog_set_encoding ()

void
xed_file_chooser_dialog_set_encoding (XedFileChooserDialog *dialog,
                                      const GtkSourceEncoding *encoding);

Types and Values

XedFileChooserDialogPrivate

typedef struct _XedFileChooserDialogPrivate XedFileChooserDialogPrivate;

struct XedFileChooserDialog

struct XedFileChooserDialog;