Kodi Development  20.0
for Binary and Script based Add-Ons
CRadioButton

Inherits CAddonGUIControlBase.

Public Member Functions

 CRadioButton (CWindow *window, int controlId)
 Construct a new control. More...
 
std::string GetLabel () const
 Get the used text from control. More...
 
bool IsSelected () const
 Get the current selected condition of radio button. 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 radio button. More...
 
void SetSelected (bool selected)
 To set radio button condition to on or off. More...
 
void SetVisible (bool visible)
 Set the control on window to visible. More...
 
 ~CRadioButton () 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_Addonm_interface
 
CAddonGUIControlBasem_Window
 

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