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