| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
Namespace:  kodi::gui::dialogs::Select Topics | |
| Definitions, structures and enumerators | |
| Dialog Select definition values Data structures associated with this dialog.  | |
Namespaces | |
| namespace | kodi::gui::dialogs::Select | 
Functions | |
| int ATTR_DLL_LOCAL | kodi::gui::dialogs::Select::Show (const std::string &heading, const std::vector< std::string > &entries, int selected=-1, unsigned int autoclose=0) | 
| Show a selection dialog about given parts.   | |
| int ATTR_DLL_LOCAL | kodi::gui::dialogs::Select::Show (const std::string &heading, std::vector< kodi::gui::dialogs::SSelectionEntry > &entries, int selected=-1, unsigned int autoclose=0) | 
| Show a selection dialog about given parts.   | |
| bool ATTR_DLL_LOCAL | kodi::gui::dialogs::Select::ShowMultiSelect (const std::string &heading, std::vector< kodi::gui::dialogs::SSelectionEntry > &entries, int autoclose=0) | 
| Show a multiple selection dialog about given parts.   | |
Namespace:  kodi::gui::dialogs::Select It has the header #include <kodi/gui/dialogs/Select.h> be included to enjoy it.
      
  | 
  inline | 
Show a selection dialog about given parts.
| [in] | heading | Dialog heading name | 
| [in] | entries | String list about entries | 
| [in] | selected | [opt] Predefined selection (default is -1 for the first)  | 
| [in] | autoclose | [opt] To close dialog automatic after the given time in ms. As '0' it stays open. | 
-1 was nothing selected or canceledExample:
      
  | 
  inline | 
Show a selection dialog about given parts.
This function is mostly equal to the other, only becomes the string list here done by a SSelectionEntry, where a ID string can be defined.
| [in] | heading | Dialog heading name | 
| [in] | entries | SSelectionEntry list about entries | 
| [in] | selected | [opt] Predefined selection (default is -1 for the first)  | 
| [in] | autoclose | [opt] To close dialog automatic after the given time in ms. As '0' it stays open. | 
-1 was nothing selected or canceledExample:
      
  | 
  inline | 
Show a multiple selection dialog about given parts.
| [in] | heading | Dialog heading name | 
| [in] | entries | SSelectionEntry list about entries | 
| [in] | autoclose | [opt] To close dialog automatic after the given time in ms. As '0' it stays open. | 
empty was nothing selected or canceledWith selected on SSelectionEntry can be a pre selection defined.
Example: