![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
\cpp_namespace{ kodi::gui::dialogs::ContextMenu } Context menu dialog More...
Functions | |
int | kodi::gui::dialogs::ContextMenu::Show (const std::string &heading, const std::vector< std::string > &entries) |
Show a context menu dialog about given parts. More... | |
int | kodi::gui::dialogs::ContextMenu::Show (const std::string &heading, const std::vector< std::pair< std::string, std::string > > &entries) |
Show a context menu dialog about given parts. More... | |
int | kodi::gui::dialogs::ContextMenu::Show (const std::string &heading, const std::vector< std::pair< int, std::string > > &entries) |
Show a context menu dialog about given parts. More... | |
\cpp_namespace{ kodi::gui::dialogs::ContextMenu } Context menu dialog
The function listed below permits the call of a dialogue as context menu to select of an entry as a key
It has the header #include <kodi/gui/dialogs/ContextMenu.h> be included to enjoy it.
|
inline |
Show a context menu dialog about given parts.
[in] | heading | Dialog heading name |
[in] | entries | String list about entries |
-1
was nothing selected or canceledExample:
|
inline |
Show a context menu dialog about given parts.
[in] | heading | Dialog heading name |
[in] | entries | String list about entries |
-1
was nothing selected or canceledExample:
|
inline |
Show a context menu dialog about given parts.
[in] | heading | Dialog heading name |
[in] | entries | String list about entries |
-1
was nothing selected or canceledExample: