Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
kodi::gui::controls::CEdit Class Reference

#include <Edit.h>

Inheritance diagram for kodi::gui::controls::CEdit:

Public Member Functions

 CEdit (CWindow *window, int controlId)
 Construct a new control.
 ~CEdit () override=default
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.
- 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

The documentation for this class was generated from the following file: