#include "../config.h"
#include <gtk/gtk.h>
#include "appconfig.h"
#include "dialogs.h"
#include "Pics/warning.xpm"
#include "Pics/question.xpm"
Include dependency graph for dialogs.c:
Go to the source code of this file.
Data Structures | |
struct | _call_data |
Call data for dialog. More... | |
Typedefs | |
typedef _call_data | CallData |
Call data for dialog. | |
Functions | |
GtkWidget * | create_warning_dialog (const char *title, const char *text) |
Create a standard warning dialog. | |
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. | |
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. | |
Variables | |
int | openFileDialogDisplayed = 0 |
Tracks whether the open File Dialog is currently displayed. | |
GtkWidget * | openFileDialog = NULL |
Pointer to the open File Dialog widget. |
Definition in file dialogs.c.
|
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. |