Boost.UI
User Interface Boost library
|
Go to the documentation of this file.
8 #ifndef BOOST_UI_LABEL_HPP
9 #define BOOST_UI_LABEL_HPP
13 #ifdef BOOST_HAS_PRAGMA_ONCE
33 { init(); create(parent, txt); }
35 { init(); create(txt); }
38 { text(txt);
return *
this; }
54 detail_impl* get_impl();
55 const detail_impl* get_impl()
const;
61 #endif // BOOST_UI_LABEL_HPP
Widget that displays static text.
Definition: label.hpp:26
Helper class to convert string between UI and application logic only.
Definition: string.hpp:49
Boost C++ libraries namespace.
Definition: window.hpp:19
label & create(const uistring &txt=uistring())
Creates label widget with text.
Definition: label.hpp:37
label(widget &parent, const uistring &txt=uistring())
Creates label widget with text.
Definition: label.hpp:32
void clear()
Clears text.
Definition: label.hpp:42
label(const uistring &txt)
Creates label widget with text.
Definition: label.hpp:34