User Alert Handling

## User Alert Handling User Alert Handling |

## Synopsis

    #define             E_ALERT_ASK_FILE_EXISTS_OVERWRITE
    #define             E_ALERT_NO_SAVE_FILE
    #define             E_ALERT_NO_LOAD_FILE
    struct              EAlert;
    EAlert *	           e_alert_new                         (const gchar *tag,
                                                             ...);
    gint                e_alert_run_dialog                  (GtkWindow *parent,
                                                             EAlert *alert);
    gint                e_alert_run_dialog_for_args         (GtkWindow *parent,
                                                             const gchar *tag,
                                                             ...);

## Description

## Details

### E_ALERT_ASK_FILE_EXISTS_OVERWRITE

    #define             E_ALERT_ASK_FILE_EXISTS_OVERWRITE

### E_ALERT_NO_SAVE_FILE

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

### E_ALERT_NO_LOAD_FILE

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

### struct EAlert

    struct EAlert {
    	GObject parent;
    	EAlertPrivate *priv;
    };

### e_alert_new ()

    EAlert *	           e_alert_new                         (const gchar *tag,
                                                             ...);

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

`tag` : | alert identifier
Returns : | a new EAlert

### e_alert_run_dialog ()

    gint                e_alert_run_dialog                  (GtkWindow *parent,
                                                             EAlert *alert);

### e_alert_run_dialog_for_args ()

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