Inherits CAddonGUIControlBase.
Public Member Functions | |
CEdit (CWindow *window, int controlId) | |
Construct a new control. More... | |
unsigned int | GetCursorPosition () |
To get current cursor position on text field. More... | |
std::string | GetLabel () const |
Returns the text heading for this edit control. More... | |
std::string | GetText () const |
Returns the text value for this edit control. More... | |
void | SetCursorPosition (unsigned int position) |
Set the cursor position on text. More... | |
void | SetEnabled (bool enabled) |
Set's the control's enabled/disabled state. More... | |
void | SetInputType (AddonGUIInputType type, const std::string &heading) |
To set field input type which are defined on AddonGUIInputType. More... | |
void | SetLabel (const std::string &label) |
To set the text string on edit control. More... | |
void | SetText (const std::string &text) |
Set's text heading for this edit control. More... | |
void | SetVisible (bool visible) |
Set the control on window to visible. More... | |
~CEdit () override=default | |
Destructor. More... | |
Public Member Functions inherited from CAddonGUIControlBase | |
KODI_GUI_LISTITEM_HANDLE | GetControlHandle () const |
Additional Inherited Members | |
Protected Member Functions inherited from CAddonGUIControlBase | |
CAddonGUIControlBase (CAddonGUIControlBase *window) | |
Protected Attributes inherited from CAddonGUIControlBase | |
KODI_GUI_LISTITEM_HANDLE | m_controlHandle |
AddonToKodiFuncTable_Addon * | m_interface |
CAddonGUIControlBase * | m_Window |