class: ewol::widget::StdPopUp
Constructor and Destructor:
# StdPopUp ();
+ virtual ~StdPopUp ();
Synopsis:
# void init ();
+ DECLARE_WIDGET_FACTORY (StdPopUp ,
"StdPopUp" );
# std::shared_ptr<ewol::widget::Label> m_title;
+ void setTitle (const std::string & _text);
# std::shared_ptr<ewol::widget::Label> m_comment;
+ void setComment (const std::string & _text);
# std::shared_ptr<ewol::widget::Sizer> m_subBar;
+ std::shared_ptr<ewol::widget::Button> addButton (const std::string & _text,
bool _autoExit);
+ void onCallBackButtonExit ();
Object Hierarchy:
+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Widget
+--> +ewol::widget::Container
+--> +ewol::widget::PopUp
+--> ewol::widget::StdPopUp
Detail:
StdPopUp
# StdPopUp ();
std-pop-up constructor.
init
# void init ();
DECLARE_WIDGET_FACTORY
+ DECLARE_WIDGET_FACTORY (StdPopUp ,
"StdPopUp" );
~StdPopUp
+ virtual ~StdPopUp ();
std-pop-up destructor.
m_title
# std::shared_ptr<ewol::widget::Label> m_title;
Title Label widget
setTitle
+ void setTitle (const std::string & _text);
Set the title string.
Parameter [input]: _text Decorated text to diplay in title.
m_comment
# std::shared_ptr<ewol::widget::Label> m_comment;
Comment label widget
setComment
+ void setComment (const std::string & _text);
Set the commentary string.
Parameter [input]: _text Decorated text to diplay in Comment.
m_subBar
# std::shared_ptr<ewol::widget::Sizer> m_subBar;
subwidget bar containing all the button.
addButton
+ std::shared_ptr<ewol::widget::Button> addButton (const std::string & _text,
bool _autoExit);
Add a buttom button.
Parameter [input]: _text Decorated text to diplay in button.
onCallBackButtonExit
+ void onCallBackButtonExit ();
+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Widget
+--> +ewol::widget::Container
+--> +ewol::widget::PopUp
+--> ewol::widget::StdPopUp
Detail:
StdPopUp
# StdPopUp ();std-pop-up constructor.
init
# void init ();
DECLARE_WIDGET_FACTORY
+ DECLARE_WIDGET_FACTORY (StdPopUp ,
"StdPopUp" );
~StdPopUp
+ virtual ~StdPopUp ();std-pop-up destructor.
m_title
# std::shared_ptr<ewol::widget::Label> m_title;Title Label widget
setTitle
+ void setTitle (const std::string & _text);Set the title string.
Parameter [input]: | _text | Decorated text to diplay in title. |
m_comment
# std::shared_ptr<ewol::widget::Label> m_comment;Comment label widget
setComment
+ void setComment (const std::string & _text);Set the commentary string.
Parameter [input]: | _text | Decorated text to diplay in Comment. |
m_subBar
# std::shared_ptr<ewol::widget::Sizer> m_subBar;subwidget bar containing all the button.
addButton
+ std::shared_ptr<ewol::widget::Button> addButton (const std::string & _text,Add a buttom button.
bool _autoExit);
Parameter [input]: | _text | Decorated text to diplay in button. |
onCallBackButtonExit
+ void onCallBackButtonExit ();