Ewl_Message: A dialog window for showing a message
Detailed Description
Defines the Ewl_Message class which extends the Ewl_Icondialog class.
- Remarks:
- Inherits from Ewl_Icondialog.
Data Structures | |
struct | Ewl_Message |
Inherits from Ewl_Dialog and extends to provide a message widget. More... | |
Defines | |
#define | EWL_MESSAGE(m) ((Ewl_Message *) m) |
#define | EWL_MESSAGE_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_MESSAGE_TYPE)) |
#define | EWL_MESSAGE_TYPE "message" |
Typedefs | |
typedef Ewl_Message | Ewl_Message |
Functions | |
const char * | ewl_message_brief_text_get (Ewl_Message *m) |
void | ewl_message_brief_text_set (Ewl_Message *m, const char *text) |
Set the brief text to the message. | |
void | ewl_message_cb_quit (Ewl_Widget *w, void *ev, void *data) |
const char * | ewl_message_detailed_text_get (Ewl_Message *m) |
void | ewl_message_detailed_text_set (Ewl_Message *m, const char *text) |
Set the detaileded text to the message. | |
int | ewl_message_init (Ewl_Message *m) |
Initialize an internal message to starting values. | |
Ewl_Widget * | ewl_message_new (void) |
Create a new internal message. |
Define Documentation
#define EWL_MESSAGE | ( | m | ) | ((Ewl_Message *) m) |
Typecasts a pointer to an Ewl_Message pointer.
#define EWL_MESSAGE_IS | ( | w | ) | (ewl_widget_type_is(EWL_WIDGET(w), EWL_MESSAGE_TYPE)) |
Returns TRUE if the widget is an Ewl_Message, FALSE otherwise
#define EWL_MESSAGE_TYPE "message" |
The type name for the Ewl_Message widget
Typedef Documentation
typedef struct Ewl_Message Ewl_Message |
The message structure extends the dialog with an icon.
Function Documentation
const char* ewl_message_brief_text_get | ( | Ewl_Message * | m | ) |
void ewl_message_brief_text_set | ( | Ewl_Message * | m, | |
const char * | brief | |||
) |
Set the brief text to the message.
- Parameters:
-
m,: message to set the brief text brief,: a brief form of the message
- Returns:
- Returns no value.
void ewl_message_cb_quit | ( | Ewl_Widget * | w, | |
void * | ev, | |||
void * | data | |||
) |
const char* ewl_message_detailed_text_get | ( | Ewl_Message * | m | ) |
void ewl_message_detailed_text_set | ( | Ewl_Message * | m, | |
const char * | detailed | |||
) |
Set the detaileded text to the message.
- Parameters:
-
m,: message to set the brief text detailed,: a detaileded form of the message
- Returns:
- Returns no value.
int ewl_message_init | ( | Ewl_Message * | m | ) |
Initialize an internal message to starting values.
- Parameters:
-
dialog,: the message to initialize.
- Returns:
- Return TRUE on success, FALSE otherwise.
Ewl_Widget* ewl_message_new | ( | void | ) |
Create a new internal message.
- Returns:
- Returns a pointer to a new message on success, NULL on failure.