GeditFileChooserDialog

GeditFileChooserDialog

Functions

Types and Values

Object Hierarchy

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

Implemented Interfaces

GeditFileChooserDialog implements AtkImplementorIface, GtkBuildable and GtkFileChooser.

Description

Functions

gedit_file_chooser_dialog_new ()

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

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]

Varargs

response ID for the first button, then additional (button, id) pairs, ending with NULL.

[allow-none]

Returns

a new GeditFileChooserDialog


gedit_file_chooser_dialog_set_encoding ()

void
gedit_file_chooser_dialog_set_encoding
                               (GeditFileChooserDialog *dialog,
                                const GeditEncoding *encoding);

Types and Values

GeditFileChooserDialogPrivate

typedef struct _GeditFileChooserDialogPrivate GeditFileChooserDialogPrivate;

struct GeditFileChooserDialog

struct GeditFileChooserDialog;