Logo Search packages:      
Sourcecode: wireshark version File versions  Download package

simple_dialog.h File Reference


Detailed Description

Simple dialog box.

Definition in file simple_dialog.h.

Go to the source code of this file.

Defines

#define ESD_BTN_CANCEL   0x02
#define ESD_BTN_CLEAR   0x10
#define ESD_BTN_DONT_SAVE   0x40
#define ESD_BTN_NO   0x08
#define ESD_BTN_NONE   0x00
#define ESD_BTN_OK   0x01
#define ESD_BTN_QUIT_DONT_SAVE   0x80
#define ESD_BTN_SAVE   0x20
#define ESD_BTN_YES   0x04
#define ESD_BTNS_OK_CANCEL   (ESD_BTN_OK|ESD_BTN_CANCEL)
#define ESD_BTNS_SAVE_DONTSAVE_CANCEL   (ESD_BTN_DONT_SAVE|ESD_BTN_CANCEL|ESD_BTN_SAVE)
#define ESD_BTNS_SAVE_QUIT_DONTSAVE_CANCEL   (ESD_BTN_QUIT_DONT_SAVE|ESD_BTN_CANCEL|ESD_BTN_SAVE)
#define ESD_BTNS_YES_NO   (ESD_BTN_YES|ESD_BTN_NO)
#define ESD_BTNS_YES_NO_CANCEL   (ESD_BTN_YES|ESD_BTN_NO|ESD_BTN_CANCEL)

Typedefs

typedef void(* simple_dialog_cb_t )(gpointer dialog, gint btn, gpointer data)

Enumerations

enum  ESD_TYPE_E {
  ESD_TYPE_INFO, ESD_TYPE_WARN, ESD_TYPE_CONFIRMATION, ESD_TYPE_ERROR,
  ESD_TYPE_STOP
}

Functions

void display_queued_messages (void)
gpointer simple_dialog (ESD_TYPE_E type, gint btn_mask, const gchar *msg_format,...)
gboolean simple_dialog_check_get (gpointer dialog)
void simple_dialog_check_set (gpointer dialog, gchar *text)
void simple_dialog_close (gpointer dialog)
char * simple_dialog_format_message (const char *msg)
char * simple_dialog_primary_end (void)
char * simple_dialog_primary_start (void)
void simple_dialog_set_cb (gpointer dialog, simple_dialog_cb_t callback_fct, gpointer data)
gpointer vsimple_dialog (ESD_TYPE_E type, gint btn_mask, const gchar *msg_format, va_list ap)


Generated by  Doxygen 1.6.0   Back to index