Download

Support

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 struct 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_Widgetewl_message_new (void)
 Create a new internal message.

Define Documentation

#define EWL_MESSAGE (  )     ((Ewl_Message *) m)

Typecasts a pointer to an Ewl_Message pointer.

#define EWL_MESSAGE_IS (  )     (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"


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.

References brief, DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_MESSAGE_TYPE, EWL_TEXT, ewl_text_clear(), ewl_text_font_set(), and ewl_text_text_append().

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.

References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, detailed, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_MESSAGE_TYPE, EWL_TEXT, ewl_text_clear(), ewl_text_text_append(), ewl_text_wrap_set(), and EWL_TEXT_WRAP_WORD.

Ewl_Widget* ewl_message_new ( void   ) 

Create a new internal message.

Returns:
Returns a pointer to a new message on success, NULL on failure.

References DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, ewl_message_init(), EWL_WIDGET, ewl_widget_destroy(), and NEW.


Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Fri Jan 23 21:56:28 2009