Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches
CEdit

Inherits CAddonGUIControlBase.

Public Member Functions

 CEdit (CWindow *window, int controlId)
 Construct a new control.
 
unsigned int GetCursorPosition ()
 To get current cursor position on text field.
 
std::string GetLabel () const
 Returns the 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.
 
void SetEnabled (bool enabled)
 Set's the control's enabled/disabled state.
 
void SetInputType (AddonGUIInputType type, const std::string &heading)
 To set field input type which are defined on AddonGUIInputType.
 
void SetLabel (const std::string &label)
 To set the text string on edit control.
 
void SetText (const std::string &text)
 Set's text heading for this edit control.
 
void SetVisible (bool visible)
 Set the control on window to visible.
 
 ~CEdit () override=default
 Destructor.
 
- 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_Addonm_interface
 
CAddonGUIControlBasem_Window
 

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