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

#include <RadioButton.h>

Inheritance diagram for kodi::gui::controls::CRadioButton:
kodi::gui::CAddonGUIControlBase

Public Member Functions

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

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