|  |  |  | Evolution Shell Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#define E_ALERT_INFO #define E_ALERT_INFO_PRIMARY #define E_ALERT_WARNING #define E_ALERT_WARNING_PRIMARY #define E_ALERT_ERROR #define E_ALERT_ERROR_PRIMARY #define E_ALERT_ASK_FILE_EXISTS_OVERWRITE #define E_ALERT_NO_SAVE_FILE #define E_ALERT_NO_LOAD_FILE 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,...); guint e_alert_dialog_count_buttons (EAlertDialog *dialog);
#define E_ALERT_ASK_FILE_EXISTS_OVERWRITE "system:ask-save-file-exists-overwrite"
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.
| 
 | alert identifier | 
| 
 | |
| Returns : | a new EAlert | 
gint e_alert_run_dialog (GtkWindow *parent,EAlert *alert);
| 
 | |
| 
 | |
| Returns : | 
gint e_alert_run_dialog_for_args (GtkWindow *parent,const gchar *tag,...);
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
guint               e_alert_dialog_count_buttons        (EAlertDialog *dialog);
Counts the number of buttons in dialog's action area.
| 
 | a EAlertDialog | 
| Returns : | number of action area buttons |