Class: widget::StdPopUp


Synopsis:

+                    StdPopUp          (void);
+ ~StdPopUp (void);
+ void setTitle (const std::string & _text);
+ void setComment (const std::string & _text);
+ widget::Button * addButton (const std::string & _text,
bool _autoExit);
+ void onObjectRemove (ewol::EObject * _removeObject);
+ void onReceiveMessage (const ewol::EMessage & _msg);

Object Hierarchy:

ewol::EObject
    +--> ewol::Widget
        +--> widget::Container
            +--> widget::PopUp
                +--> widget::StdPopUp

Description:

/** * @ingroup ewolWidgetGroup * @brief The std pop up widget is a siple message widget to notyfy user of some simple things, like: * * ~~~~~~~~~~~~~~~~~~~~~ * +---------------------------------+---+---+---+ * | Windows name... | _ | O | X | * +---------------------------------+---+---+---+ * | | * | | * | | * | +-------------------+ | * | | Erreur: | | * | | | | * | | Message to diplay | | * | | to user | | * | | | | * | | Close | | * | +-------------------+ | * | | * | | * | | * +---------------------------------------------+ * ~~~~~~~~~~~~~~~~~~~~~ */

Detail:

widget::StdPopUp ()

StdPopUp(void);

std-pop-up constructor.


widget::~StdPopUp ()

~StdPopUp(void);

std-pop-up destructor.


setTitle ()

void setTitle(const std::string & _text);

Set the title string.


setComment ()

void setComment(const std::string & _text);

Set the commentary string.


addButton ()

widget::Button * addButton(const std::string & _text,
                           bool _autoExit);

Add a buttom button.


onObjectRemove ()

void onObjectRemove(ewol::EObject * _removeObject);



onReceiveMessage ()

void onReceiveMessage(const ewol::EMessage & _msg);