#include "xmessage-dialog.h"
Go to the source code of this file.
Functions | |
Widget_t * | open_message_dialog (Widget_t *w, int style, const char *title, const char *message, const char *choices) |
open_message_dialog - open a non blocking dialog window, lines in message chould be separated by the character "|" choices for the SELECTION_BOX should be separated as well with the character "|". message and/or choices could be NULL when not needed. To fetch the response of a dialog, connect to the dialog_callback supported "styles" been INFO_BOX - a message dialog display a info text WARNING_BOX - a message dialog display a warning ERROR_BOX - a message dialog display a error message QUESTION_BOX - a no/yes dialog message SELECTION_BOX - a dialog to select between multiple options ENTRY_BOX - a dialog to get text input More... | |
Widget_t* open_message_dialog | ( | Widget_t * | w, |
int | style, | ||
const char * | title, | ||
const char * | message, | ||
const char * | choices | ||
) |
open_message_dialog - open a non blocking dialog window, lines in message chould be separated by the character "|" choices for the SELECTION_BOX should be separated as well with the character "|". message and/or choices could be NULL when not needed. To fetch the response of a dialog, connect to the dialog_callback supported "styles" been
INFO_BOX - a message dialog display a info text
WARNING_BOX - a message dialog display a warning
ERROR_BOX - a message dialog display a error message
QUESTION_BOX - a no/yes dialog message
SELECTION_BOX - a dialog to select between multiple options
ENTRY_BOX - a dialog to get text input
Definition at line 322 of file xmessage-dialog.c.
References MessageBox::choices, MessageBox::height, MessageBox::icon, MessageBox::lin, MessageBox::message, MessageBox::message_type, MessageBox::response, MessageBox::sel, and MessageBox::width.