Error Dialog Functions

Error Dialog Functions

Synopsis

#define             E_ERROR_INFO
#define             E_ERROR_INFO_PRIMARY
#define             E_ERROR_WARNING
#define             E_ERROR_WARNING_PRIMARY
#define             E_ERROR_ERROR
#define             E_ERROR_ERROR_PRIMARY
#define             E_ERROR_ASK_FILE_EXISTS_OVERWRITE
#define             E_ERROR_NO_SAVE_FILE
#define             E_ERROR_NO_LOAD_FILE
GtkWidget *         e_error_new                         (GtkWindow *parent,
                                                         const gchar *tag,
                                                         const gchar *arg0,
                                                         ...);
GtkWidget *         e_error_newv                        (GtkWindow *parent,
                                                         const gchar *tag,
                                                         const gchar *arg0,
                                                         va_list ap);
gint                e_error_run                         (GtkWindow *parent,
                                                         const gchar *tag,
                                                         const gchar *arg0,
                                                         ...);
gint                e_error_runv                        (GtkWindow *parent,
                                                         const gchar *tag,
                                                         const gchar *arg0,
                                                         va_list ap);
guint               e_error_count_buttons               (GtkDialog *dialog);

Description

Details

E_ERROR_INFO

#define E_ERROR_INFO "builtin:info"


E_ERROR_INFO_PRIMARY

#define E_ERROR_INFO_PRIMARY "builtin:info-primary"


E_ERROR_WARNING

#define E_ERROR_WARNING "builtin:warning"


E_ERROR_WARNING_PRIMARY

#define E_ERROR_WARNING_PRIMARY "builtin:warning-primary"


E_ERROR_ERROR

#define E_ERROR_ERROR "builtin:error"


E_ERROR_ERROR_PRIMARY

#define E_ERROR_ERROR_PRIMARY "builtin:error-primary"


E_ERROR_ASK_FILE_EXISTS_OVERWRITE

#define E_ERROR_ASK_FILE_EXISTS_OVERWRITE "system:ask-save-file-exists-overwrite"


E_ERROR_NO_SAVE_FILE

#define E_ERROR_NO_SAVE_FILE "system:no-save-file"


E_ERROR_NO_LOAD_FILE

#define E_ERROR_NO_LOAD_FILE "system:no-save-file"


e_error_new ()

GtkWidget *         e_error_new                         (GtkWindow *parent,
                                                         const gchar *tag,
                                                         const gchar *arg0,
                                                         ...);

Creates a new error widget. The tag argument is used to determine which error to use, it is in the format domain:error-id. The NULL terminated list of arguments, starting with arg0 is used to fill out the error definition.

parent :

tag :

error identifier

arg0 :

The first argument for the error formatter. The list must be NULL terminated.

... :

Returns :

A GtkDialog which can be used for showing an error dialog asynchronously.

e_error_newv ()

GtkWidget *         e_error_newv                        (GtkWindow *parent,
                                                         const gchar *tag,
                                                         const gchar *arg0,
                                                         va_list ap);

parent :

tag :

arg0 :

ap :

Returns :


e_error_run ()

gint                e_error_run                         (GtkWindow *parent,
                                                         const gchar *tag,
                                                         const gchar *arg0,
                                                         ...);

Sets up, displays, runs and destroys a standard evolution error dialog based on tag, which is in the format domain:error-id.

parent :

tag :

arg0 :

... :

Returns :

The response id of the button pressed.

e_error_runv ()

gint                e_error_runv                        (GtkWindow *parent,
                                                         const gchar *tag,
                                                         const gchar *arg0,
                                                         va_list ap);

parent :

tag :

arg0 :

ap :

Returns :


e_error_count_buttons ()

guint               e_error_count_buttons               (GtkDialog *dialog);

Counts the number of buttons in dialog's action area.

dialog :

a GtkDialog

Returns :

number of action area buttons