![]() |
![]() |
![]() |
gel Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
enum GelUIDialogType; GtkWidget * gel_ui_dialog_error (GtkWidget *parent
,const gchar *title
,const gchar *message
,const gchar *details
,gboolean run_and_destroy
); GtkWidget * gel_ui_dialog_generic (GtkWidget *parent
,GelUIDialogType type
,const gchar *title
,const gchar *message
,const gchar *details
,gboolean run_and_destroy
);
typedef enum { GEL_UI_DIALOG_TYPE_ERROR = 0, GEL_UI_DIALOG_N_TYPES } GelUIDialogType;
GtkWidget * gel_ui_dialog_error (GtkWidget *parent
,const gchar *title
,const gchar *message
,const gchar *details
,gboolean run_and_destroy
);
Calls gel_ui_dialog_generic()
with type = GEL_UI_DIALOG_TYPE_ERROR
|
Parent window for dialog or NULL . [allow-none][transfer none]
|
|
Title for dialog |
|
Short message for display |
|
Long message for display or NULL . [allow-none]
|
|
TRUE if dialog should be run and disposed inmedialty
or FALSE if dialog should be returned. |
Returns : |
The dialog or NULL . [transfer full][allow-none]
|
GtkWidget * gel_ui_dialog_generic (GtkWidget *parent
,GelUIDialogType type
,const gchar *title
,const gchar *message
,const gchar *details
,gboolean run_and_destroy
);
Creates a GtkDialog with the especified parameters. If run_and_destroy
is TRUE
the dialog showed and run, NULL
is returned. With run_and_destroy
as FALSE
the GtkWidget is created and returned, but not run.
|
Parent window for dialog or NULL . [allow-none][transfer none]
|
|
Type of dialog |
|
Title for dialog |
|
Short message for display |
|
Long message for display or NULL . [allow-none]
|
|
TRUE if dialog should be run and disposed inmedialty
or FALSE if dialog should be returned. |
Returns : |
The dialog or NULL . [transfer full][allow-none]
|