![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <Edit.h>
Public Member Functions | |
CEdit (CWindow *window, int controlId) | |
Construct a new control. | |
~CEdit () override=default | |
Destructor. | |
void | SetVisible (bool visible) |
Set the control on window to visible. | |
void | SetEnabled (bool enabled) |
Set's the control's enabled/disabled state. | |
void | SetLabel (const std::string &label) |
To set the text string on edit control. | |
std::string | GetLabel () const |
Returns the text heading for this edit control. | |
void | SetText (const std::string &text) |
Set's text heading for this edit control. | |
std::string | GetText () const |
Returns the text value for this edit control. | |
void | SetCursorPosition (unsigned int position) |
Set the cursor position on text. | |
unsigned int | GetCursorPosition () |
To get current cursor position on text field. | |
void | SetInputType (AddonGUIInputType type, const std::string &heading) |
To set field input type which are defined on AddonGUIInputType. | |
![]() | |
KODI_GUI_LISTITEM_HANDLE | GetControlHandle () const |
Additional Inherited Members | |
![]() | |
CAddonGUIControlBase (CAddonGUIControlBase *window) | |
virtual | ~CAddonGUIControlBase ()=default |
![]() | |
KODI_GUI_LISTITEM_HANDLE | m_controlHandle |
AddonToKodiFuncTable_Addon * | m_interface |
CAddonGUIControlBase * | m_Window |