Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
CONTEXTMENU Namespace Reference

Classes

struct  CAddonInfo
 
struct  CAddonSettings
 
struct  CAlbumInfo
 
struct  CArtistInfo
 
struct  CCheckForUpdates
 
class  CChooseThumbnailForFavourite
 
struct  CDisableAddon
 
struct  CEjectDisk
 
struct  CEjectDrive
 
struct  CEnableAddon
 
struct  CEpisodeInfo
 
class  CFavouriteContextMenuAction
 
struct  CMarkUnWatched
 
struct  CMarkWatched
 
struct  CMovieInfo
 
struct  CMusicInfo
 
struct  CMusicVideoInfo
 
struct  CPlay
 
class  CRemoveFavourite
 
struct  CRemoveResumePoint
 
class  CRenameFavourite
 
struct  CResume
 
struct  CSongInfo
 
struct  CTVShowInfo
 
class  CVideoInfo
 

Functions

bool ShowFor (const CFileItemPtr &fileItem, const CContextMenuItem &root=CContextMenuManager::MAIN)
 
bool LoopFrom (const IContextMenuItem &menu, const CFileItemPtr &fileItem)
 

Function Documentation

§ LoopFrom()

bool CONTEXTMENU::LoopFrom ( const IContextMenuItem menu,
const CFileItemPtr fileItem 
)

Shortcut for continuing the context menu loop from an existing menu item.

§ ShowFor()

bool CONTEXTMENU::ShowFor ( const CFileItemPtr fileItem,
const CContextMenuItem root = CContextMenuManager::MAIN 
)

Starts the context menu loop for a file item.