Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <TextBox.h>
Public Member Functions | |
CTextBox (CWindow *window, int controlId) | |
Construct a new control. | |
~CTextBox () override=default | |
Destructor. | |
void | SetVisible (bool visible) |
Set the control on window to visible. | |
void | Reset () |
To reset box an remove all the text. | |
void | SetText (const std::string &text) |
To set the text on box. | |
std::string | GetText () const |
Get the used text from control. | |
void | Scroll (unsigned int position) |
To scroll text on other position. | |
void | SetAutoScrolling (int delay, int time, int repeat) |
To set automatic scrolling of textbox. | |
Public Member Functions inherited from kodi::gui::CAddonGUIControlBase | |
KODI_GUI_LISTITEM_HANDLE | GetControlHandle () const |
Additional Inherited Members | |
Protected Member Functions inherited from kodi::gui::CAddonGUIControlBase | |
CAddonGUIControlBase (CAddonGUIControlBase *window) | |
virtual | ~CAddonGUIControlBase ()=default |
Protected Attributes inherited from kodi::gui::CAddonGUIControlBase | |
KODI_GUI_LISTITEM_HANDLE | m_controlHandle |
AddonToKodiFuncTable_Addon * | m_interface |
CAddonGUIControlBase * | m_Window |