Inherits CAddonGUIControlBase.
|
| CButton (CWindow *window, int controlId) |
| Construct a new control.
|
|
std::string | GetLabel () const |
| Get the used text from button.
|
|
std::string | GetLabel2 () const |
| Get the second label if present.
|
|
void | SetEnabled (bool enabled) |
| Set's the control's enabled/disabled state.
|
|
void | SetLabel (const std::string &label) |
| To set the text string on button.
|
|
void | SetLabel2 (const std::string &label) |
| If two labels are used for button becomes it set with them.
|
|
void | SetVisible (bool visible) |
| Set the control on window to visible.
|
|
| ~CButton () override=default |
| Destructor.
|
|
KODI_GUI_LISTITEM_HANDLE | GetControlHandle () const |
|
The documentation for this class was generated from the following file:
- /github/workspace/xbmc/addons/kodi-dev-kit/include/kodi/gui/controls/Button.h