#include <gtk/gtk.h>
Include dependency graph for dialogs.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Enumerations | |
enum | DlgType { DLGTYPE_NONE = 0, DLGTYPE_WARNING, DLGTYPE_QUESTION } |
The predefined standard dialog types. More... | |
Functions | |
GtkWidget * | create_standard_dialog (const char *title, const char *text, const DlgType predefined_type, char **pixmap, const char *ok_text, void(*ok_callback)(void *), const char *cancel_text, void(*cancel_callback)(void *), void *callback_data) |
Creates a default dialog. | |
GtkWidget * | create_warning_dialog (const char *title, const char *text) |
Create a standard warning dialog. | |
void | display_error (char *title, char *message) |
Displays an error dialog. | |
void | file_open_dialog (GtkWidget *txt) |
Display the export dialog. | |
GtkWidget * | show_warning_dialog (char *title, char *text) |
Create and show a standard warning dialog. |
Definition in file dialogs.h.
|
The predefined standard dialog types.
Definition at line 31 of file dialogs.h. Referenced by create_standard_dialog(). |
|
Creates a default dialog.
Definition at line 84 of file dialogs.c. References _call_data::dialog, DlgType, DLGTYPE_QUESTION, DLGTYPE_WARNING, _call_data::user_cancel_callback, _call_data::user_data, and _call_data::user_ok_callback. Referenced by create_warning_dialog(), display_error(), gui_send_query(), on_databaseDisconnect_activate(), show_warning_dialog(), and tables_new_connection(). |
|
Create a standard warning dialog.
Definition at line 56 of file dialogs.c. References create_standard_dialog(), and DLGTYPE_WARNING. |
|
Create and show a standard warning dialog.
Definition at line 269 of file dialogs.c. References create_standard_dialog(), and DLGTYPE_WARNING. |