Inherits CAddonGUIControlBase.
|
| CListItem (const std::string &label="", const std::string &label2="", const std::string &path="") |
| Class constructor with parameters.
|
|
| CListItem (KODI_GUI_LISTITEM_HANDLE listItemHandle) |
|
std::string | GetArt (const std::string &type) |
| Sets the listitem's art.
|
|
std::string | GetLabel () |
| Returns the listitem label.
|
|
std::string | GetLabel2 () |
| Returns the second listitem label.
|
|
std::string | GetPath () |
| Returns the path / filename of this listitem.
|
|
std::string | GetProperty (const std::string &key) |
| Returns a listitem property as a string, similar to an infolabel.
|
|
bool | IsSelected () |
| Returns the listitem's selected status.
|
|
void | Select (bool selected) |
| To control selection of item in list (also multiple selection, in list on several items possible).
|
|
void | SetArt (const std::string &type, const std::string &url) |
| Sets the listitem's art.
|
|
void | SetLabel (const std::string &label) |
| Sets the listitem label.
|
|
void | SetLabel2 (const std::string &label) |
| Sets the listitem's label2.
|
|
void | SetPath (const std::string &path) |
| Sets the listitem's path.
|
|
void | SetProperty (const std::string &key, const std::string &value) |
| Sets a listitem property, similar to an infolabel.
|
|
| ~CListItem () override |
| Class destructor.
|
|
KODI_GUI_LISTITEM_HANDLE | GetControlHandle () const |
|
The documentation for this class was generated from the following file:
- /github/workspace/xbmc/addons/kodi-dev-kit/include/kodi/gui/ListItem.h