| 
    Kodi Documentation 18.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.  More... | |
| ~CEdit () override=default | |
| Destructor.  More... | |
| void | SetVisible (bool visible) | 
| Set the control on window to visible.  More... | |
| void | SetEnabled (bool enabled) | 
| Set's the control's enabled/disabled state.  More... | |
| void | SetLabel (const std::string &label) | 
| To set the text string on edit control.  More... | |
| std::string | GetLabel () const | 
| Returns the text heading for this edit control.  More... | |
| void | SetText (const std::string &text) | 
| Set's text heading for this edit control.  More... | |
| std::string | GetText () const | 
| Returns the text value for this edit control.  More... | |
| void | SetCursorPosition (unsigned int iPosition) | 
| Set the cursor position on text.  More... | |
| unsigned int | GetCursorPosition () | 
| To get current cursor position on text field.  More... | |
| void | SetInputType (AddonGUIInputType type, const std::string &heading) | 
| To set field input type which are defined on AddonGUIInputType.  More... | |
  Public Member Functions inherited from kodi::gui::CAddonGUIControlBase | |
| GUIHANDLE | 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 | |
| GUIHANDLE | m_controlHandle | 
| AddonToKodiFuncTable_Addon * | m_interface | 
| CAddonGUIControlBase * | m_Window |