|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
Class: kodi::gui::controls::CLabel Functions | |
| kodi::gui::controls::CLabel::CLabel (CWindow *window, int controlId) | |
| Construct a new control. More... | |
| kodi::gui::controls::CLabel::~CLabel () override=default | |
| Destructor. More... | |
| void | kodi::gui::controls::CLabel::SetVisible (bool visible) |
| Set the control on window to visible. More... | |
| void | kodi::gui::controls::CLabel::SetLabel (const std::string &text) |
| To set the text string on label. More... | |
| std::string | kodi::gui::controls::CLabel::GetLabel () const |
| Get the used text from control. More... | |
Class: kodi::gui::controls::CLabel It has the header #include <kodi/gui/controls/Label.h> be included to enjoy it.
Here you find the needed skin part for a label control.
Construct a new control.
| [in] | window | Related window control class |
| [in] | controlId | Used skin xml control id |
|
inline |
Get the used text from control.
|
inline |
To set the text string on label.
| [in] | text | Text to show |
Set the control on window to visible.
| [in] | visible | If true visible, otherwise hidden |
|
overridedefault |
Destructor.