![]() |
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#include <ListItem.h>
Public Member Functions | |
CListItem (const std::string &label="", const std::string &label2="", const std::string &path="") | |
Class constructor with parameters. More... | |
CListItem (KODI_GUI_LISTITEM_HANDLE listItemHandle) | |
~CListItem () override | |
Class destructor. More... | |
std::string | GetLabel () |
Returns the listitem label. More... | |
void | SetLabel (const std::string &label) |
Sets the listitem label. More... | |
std::string | GetLabel2 () |
Returns the second listitem label. More... | |
void | SetLabel2 (const std::string &label) |
Sets the listitem's label2. More... | |
std::string | GetArt (const std::string &type) |
Sets the listitem's art. More... | |
void | SetArt (const std::string &type, const std::string &url) |
Sets the listitem's art. More... | |
std::string | GetPath () |
Returns the path / filename of this listitem. More... | |
void | SetPath (const std::string &path) |
Sets the listitem's path. More... | |
void | SetProperty (const std::string &key, const std::string &value) |
Sets a listitem property, similar to an infolabel. More... | |
std::string | GetProperty (const std::string &key) |
Returns a listitem property as a string, similar to an infolabel. More... | |
void | Select (bool selected) |
To control selection of item in list (also multiple selection, in list on several items possible). More... | |
bool | IsSelected () |
Returns the listitem's selected status. More... | |
![]() | |
KODI_GUI_LISTITEM_HANDLE | GetControlHandle () const |
Additional Inherited Members | |
![]() | |
CAddonGUIControlBase (CAddonGUIControlBase *window) | |
virtual | ~CAddonGUIControlBase ()=default |
![]() | |
KODI_GUI_LISTITEM_HANDLE | m_controlHandle |
AddonToKodiFuncTable_Addon * | m_interface |
CAddonGUIControlBase * | m_Window |
|
inlineexplicit |