Window IDs: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 54: Line 54:
|-  
|-  
| <code>screencalibration</code>
| <code>screencalibration</code>
| <code>WINDOW_MOVIE_CALIBRATION</code>
| <code>WINDOW_SCREEN_CALIBRATION</code>
| <code>10011</code>
| <code>10011</code>
| SettingsScreenCalibration.xml
| SettingsScreenCalibration.xml
Line 73: Line 73:
| SettingsCategory.xml
| SettingsCategory.xml
|-  
|-  
| <code>gamesettings</code>
| <code>WINDOW_SETTINGS_MYGAMES</code>
| <code>10022</code>
| SettingsCategory.xml
|-
| <code>videos</code>
| <code>videos</code>
| <code>WINDOW_VIDEO_NAV</code>
| <code>WINDOW_VIDEO_NAV</code>
Line 84: Line 89:
|-  
|-  
| <code>loginscreen</code>
| <code>loginscreen</code>
| <code>WINDOW_LOGINSCREEN</code>
| <code>WINDOW_LOGIN_SCREEN</code>
| <code>10029</code>
| <code>10029</code>
| LoginScreen.xml
| LoginScreen.xml
Line 147: Line 152:
| <code>10104</code>
| <code>10104</code>
| DialogVolumeBar.xml
| DialogVolumeBar.xml
|-
| <code>submenu</code>
| <code>WINDOW_DIALOG_SUB_MENU</code>
| <code>10105</code>
| DialogSubMenu.xml
|-  
|-  
| <code>contextmenu</code>
| <code>contextmenu</code>
Line 192: Line 202:
| <code>10120</code>
| <code>10120</code>
| MusicOSD.xml
| MusicOSD.xml
|-
| <code></code>
| <code>WINDOW_DIALOG_VIS_SETTINGS</code>
| <code>10121</code>
|
|-  
|-  
| <code>visualisationpresetlist</code>
| <code>visualisationpresetlist</code>
Line 241: Line 256:
| <code>WINDOW_DIALOG_CONTENT_SETTINGS</code>
| <code>WINDOW_DIALOG_CONTENT_SETTINGS</code>
| <code>10132</code>
| <code>10132</code>
| DialogSettings.xml
|-
| <code>libexportsettings</code>
| <code>WINDOW_DIALOG_LIBEXPORT_SETTINGS</code>
| <code>10133</code>
| DialogSettings.xml
| DialogSettings.xml
|-  
|-  
Line 323: Line 343:
| DialogSubtitles.xml
| DialogSubtitles.xml
|-  
|-  
| <code>audiodspmanager</code>
| <code></code>
| <code>WINDOW_DIALOG_AUDIO_DSP_MANAGER </code>
| <code>WINDOW_DIALOG_KEYBOARD_TOUCH</code>
| <code>10154</code>
| <code>10156</code>
| DialogAudioDSPManager.xml
|  
|-
| <code>osdaudiodspsettings</code>
| <code>WINDOW_DIALOG_AUDIO_DSP_OSD_SETTINGS</code>
| <code>10155</code>
| DialogSettings.xml
|-  
|-  
| <code>osdcmssettings</code>
| <code>osdcmssettings</code>
Line 337: Line 352:
| <code>10157</code>
| <code>10157</code>
| DialogSettings.xml
| DialogSettings.xml
|-
| <code>infoprovidersettings</code>
| <code>WINDOW_DIALOG_INFOPROVIDER_SETTINGS</code>
| <code>10158</code>
| DialogSettings.xml
|-
| <code>osdsubtitlesettings</code>
| <code>WINDOW_DIALOG_SUBTITLE_OSD_SETTINGS</code>
| <code>10159</code>
| DialogSettings.xml
|-
| <code>busydialognocancel</code>
| <code>WINDOW_DIALOG_BUSY_NOCANCEL</code>
| <code>10160</code>
| DialogBusy.xml
|-  
|-  
| <code>musicplaylist</code>
| <code>musicplaylist</code>
Line 353: Line 383:
| MyMusicPlaylistEditor.xml
| MyMusicPlaylistEditor.xml
|-
|-
| <code>teletext</code>
| <code>WINDOW_DIALOG_OSD_TELETEXT</code>
| <code>10550</code>
|
|-
| <code>pvrguideinfo</code>
| <code>pvrguideinfo</code>
| <code>WINDOW_DIALOG_PVR_GUIDE_INFO</code>
| <code>WINDOW_DIALOG_PVR_GUIDE_INFO</code>
Line 398: Line 434:
| DialogPVRChannelsOSD.xml
| DialogPVRChannelsOSD.xml
|-
|-
| <code>pvrosdguide</code>
| <code>pvrchannelguide</code>
| <code>WINDOW_DIALOG_PVR_OSD_GUIDE</code>
| <code>WINDOW_DIALOG_PVR_CHANNEL_GUIDE</code>
| <code>10609</code>
| <code>10609</code>
| DialogPVRGuideOSD.xml
| DialogPVRChannelGuide.xml
|-  
|-  
| <code>pvrradiordsinfo</code>
| <code>pvrradiordsinfo</code>
Line 411: Line 447:
| <code>WINDOW_DIALOG_PVR_RECORDING_SETTING</code>
| <code>WINDOW_DIALOG_PVR_RECORDING_SETTING</code>
| <code>10611</code>
| <code>10611</code>
| DialogSettings.xml
|-
| <code></code>
| <code>WINDOW_DIALOG_PVR_CLIENT_PRIORITIES</code>
| <code>10612</code>
| DialogSettings.xml
| DialogSettings.xml
|-
|-
Line 482: Line 523:
| <code>10801</code>
| <code>10801</code>
| None (shortcut to visualisation)
| None (shortcut to visualisation)
|-
| <code>fullscreenlivetvpreview</code>
| <code>WINDOW_FULLSCREEN_LIVETV_PREVIEW</code>
| <code>10802</code>
| None (shortcut to fullscreenlivetv)
|-
| <code>fullscreenradiopreview</code>
| <code>WINDOW_FULLSCREEN_RADIO_PREVIEW</code>
| <code>10803</code>
| None (shortcut to fullscreenradio
|-
| <code>fullscreenlivetvinput</code>
| <code>WINDOW_FULLSCREEN_LIVETV_INPUT</code>
| <code>10804</code>
| None (shortcut to fullscreenlivetv)
|-
| <code>fullscreenradioinput</code>
| <code>WINDOW_FULLSCREEN_RADIO_INPUT</code>
| <code>10805</code>
| None (shortcut to fullscreenradio)
|-  
|-  
| <code>gamecontrollers</code>
| <code>gamecontrollers</code>
Line 502: Line 563:
| <code>10823</code>
| <code>10823</code>
| DialogSettings.xml
| DialogSettings.xml
|-
| <code>gameviewmode</code>
| <code>WINDOW_DIALOG_GAME_STRETCH_MODE</code>
| <code>10824</code>
|
|-
| <code>gamevolume</code>
| <code>WINDOW_DIALOG_GAME_VOLUME</code>
| <code>10825</code>
|
|-
| <code>gameadvancedsettings</code>
| <code>WINDOW_DIALOG_GAME_ADVANCED_SETTINGS</code>
| <code>10826</code>
|
|-
| <code>gamevideorotation</code>
| <code>WINDOW_DIALOG_GAME_VIDEO_ROTATION</code>
| <code>10827</code>
|
|-  
|-  
| <code>Custom Skin Windows</code>
| <code>Custom Skin Windows</code>
Line 554: Line 635:
|-  
|-  
| <code>videoosd</code>
| <code>videoosd</code>
| <code>WINDOW_OSD</code>
| <code>WINDOW_DIALOG_VIDEO_OSD</code>
| <code>12901</code>
| <code>12901</code>
| VideoOSD.xml
| VideoOSD.xml
|-  
|-  
| <code>videomenu</code>
| <code>videomenu</code>
| <code>WINDOW_MEDIA_MENU</code>
| <code>WINDOW_VIDEO_MENU</code>
| <code>12902</code>
| <code>12902</code>
| none
| none
|-  
|-  
| <code>videotimeseek</code>
| <code>WINDOW_VIDEO_TIME_SEEK</code>
| <code>12905</code>
| none
|-
| <code>fullscreengame</code>
| <code>WINDOW_FULLSCREEN_GAME</code>
| <code>12906</code>
| none
|-
| <code>splash</code>
| <code>WINDOW_SPLASH</code>
| <code>12997</code>
|
|-
| <code>startwindow</code>
| <code>startwindow</code>
| <code>WINDOW_START</code>
| <code>WINDOW_START</code>

Revision as of 08:05, 8 September 2018

Home icon grey.png   ▶ Development ▶ Add-on development ▶ Window IDs

This table cross-references Window names, Window definitions, Window ID, and the delta Window ID's (this is the delta from the home window.) The code that performs the cross-reference is found in https://github.com/xbmc/xbmc/blob/master/xbmc/input/WindowTranslator.cpp and https://github.com/xbmc/xbmc/blob/master/xbmc/guilib/WindowIDs.h.

  • keymap.xml uses the Window name.
  • Kodi's C++ code uses the Window definitions and Window ID's.
  • ActivateWindow() should use the Window name.
  • sounds.xml should use the window name

You can use secondary parameters with all media windows, as can be seen here:


Name Definition Window ID source XML file
home WINDOW_HOME 10000 Home.xml
programs WINDOW_PROGRAMS 10001 MyPrograms.xml
pictures WINDOW_PICTURES 10002 MyPics.xml
filemanager WINDOW_FILES 10003 FileManager.xml
settings WINDOW_SETTINGS_MENU 10004 Settings.xml
systeminfo WINDOW_SYSTEM_INFORMATION 10007 SettingsSystemInfo.xml
testpattern WINDOW_TEST_PATTERN 10008 none
screencalibration WINDOW_SCREEN_CALIBRATION 10011 SettingsScreenCalibration.xml
systemsettings WINDOW_SETTINGS_SYSTEM 10016 SettingsCategory.xml
servicesettings WINDOW_SETTINGS_SERVICE 10018 SettingsCategory.xml
pvrsettings WINDOW_SETTINGS_MYPVR 10021 SettingsCategory.xml
gamesettings WINDOW_SETTINGS_MYGAMES 10022 SettingsCategory.xml
videos WINDOW_VIDEO_NAV 10025 MyVideoNav.xml
videoplaylist WINDOW_VIDEO_PLAYLIST 10028 MyPlaylist.xml
loginscreen WINDOW_LOGIN_SCREEN 10029 LoginScreen.xml
playersettings WINDOW_SETTINGS_PLAYER 10030 SettingsCategory.xml
mediasettings WINDOW_SETTINGS_MEDIA 10031 SettingsCategory.xml
interfacesettings WINDOW_SETTINGS_INTERFACE 10032 SettingsCategory.xml
profiles WINDOW_SETTINGS_PROFILES 10034 SettingsProfile.xml
skinsettings WINDOW_SKIN_SETTINGS 10035 SkinSettings.xml
addonbrowser WINDOW_ADDON_BROWSER 10040 AddonBrowser.xml
eventlog WINDOW_EVENT_LOG 10050 EventLog.xml
pointer WINDOW_DIALOG_POINTER 10099 Pointer.xml
yesnodialog WINDOW_DIALOG_YES_NO 10100 DialogConfirm.xml
progressdialog WINDOW_DIALOG_PROGRESS 10101 DialogConfirm.xml
virtualkeyboard WINDOW_DIALOG_KEYBOARD 10103 DialogKeyboard.xml
volumebar WINDOW_DIALOG_VOLUME_BAR 10104 DialogVolumeBar.xml
submenu WINDOW_DIALOG_SUB_MENU 10105 DialogSubMenu.xml
contextmenu WINDOW_DIALOG_CONTEXT_MENU 10106 DialogContextMenu.xml
notification WINDOW_DIALOG_KAI_TOAST 10107 DialogNotification.xml
numericinput WINDOW_DIALOG_NUMERIC 10109 DialogNumeric.xml
gamepadinput WINDOW_DIALOG_GAMEPAD 10110 DialogSelect.xml
shutdownmenu WINDOW_DIALOG_BUTTON_MENU 10111 DialogButtonMenu.xml
playercontrols WINDOW_DIALOG_PLAYER_CONTROLS 10114 PlayerControls.xml
seekbar WINDOW_DIALOG_SEEK_BAR 10115 DialogSeekBar.xml
playerprocessinfo WINDOW_DIALOG_PLAYER_PROCESS_INFO 10116 DialogPlayerProcessInfo.xml
musicosd WINDOW_DIALOG_MUSIC_OSD 10120 MusicOSD.xml
WINDOW_DIALOG_VIS_SETTINGS 10121
visualisationpresetlist WINDOW_DIALOG_VIS_PRESET_LIST 10122 DialogSelect.xml
osdvideosettings WINDOW_DIALOG_VIDEO_OSD_SETTINGS 10123 DialogSettings.xml
osdaudiosettings WINDOW_DIALOG_AUDIO_OSD_SETTINGS 10124 DialogSettings.xml
videobookmarks WINDOW_DIALOG_VIDEO_BOOKMARKS 10125 VideoOSDBookmarks.xml
filebrowser WINDOW_DIALOG_FILE_BROWSER 10126 FileBrowser.xml
networksetup WINDOW_DIALOG_NETWORK_SETUP 10128 DialogSettings.xml
mediasource WINDOW_DIALOG_MEDIA_SOURCE 10129 DialogMediaSource.xml
profilesettings WINDOW_DIALOG_PROFILE_SETTINGS 10130 DialogSettings.xml
locksettings WINDOW_DIALOG_LOCK_SETTINGS 10131 DialogSettings.xml
contentsettings WINDOW_DIALOG_CONTENT_SETTINGS 10132 DialogSettings.xml
libexportsettings WINDOW_DIALOG_LIBEXPORT_SETTINGS 10133 DialogSettings.xml
favourites WINDOW_DIALOG_FAVOURITES 10134 DialogFavourites.xml
songinformation WINDOW_DIALOG_SONG_INFO 10135 DialogMusicInfo.xml
smartplaylisteditor WINDOW_DIALOG_SMART_PLAYLIST_EDITOR 10136 SmartPlaylistEditor.xml
smartplaylistrule WINDOW_DIALOG_SMART_PLAYLIST_RULE 10137 SmartPlaylistRule.xml
busydialog WINDOW_DIALOG_BUSY 10138 DialogBusy.xml
pictureinfo WINDOW_DIALOG_PICTURE_INFO 10139 DialogPictureInfo.xml
addonsettings WINDOW_DIALOG_ADDON_SETTINGS 10140 DialogAddonSettings.xml
accesspoints WINDOW_DIALOG_ACCESS_POINTS 10141 DialogAccessPoints.xml
fullscreeninfo WINDOW_DIALOG_FULLSCREEN_INFO 10142 DialogFullScreenInfo.xml
sliderdialog WINDOW_DIALOG_SLIDER 10145 DialogSlider.xml
addoninformation WINDOW_DIALOG_ADDON_INFO 10146 DialogAddonInfo.xml
textviewer WINDOW_DIALOG_TEXT_VIEWER 10147 DialogTextViewer.xml
peripheralsettings WINDOW_DIALOG_PERIPHERAL_SETTINGS 10150 DialogSettings.xml
extendedprogressdialog WINDOW_DIALOG_EXT_PROGRESS 10151 DialogExtendedProgressBar.xml
mediafilter WINDOW_DIALOG_MEDIA_FILTER 10152 DialogSettings.xml
subtitlesearch WINDOW_DIALOG_SUBTITLES 10153 DialogSubtitles.xml
WINDOW_DIALOG_KEYBOARD_TOUCH 10156
osdcmssettings WINDOW_DIALOG_CMS_OSD_SETTINGS 10157 DialogSettings.xml
infoprovidersettings WINDOW_DIALOG_INFOPROVIDER_SETTINGS 10158 DialogSettings.xml
osdsubtitlesettings WINDOW_DIALOG_SUBTITLE_OSD_SETTINGS 10159 DialogSettings.xml
busydialognocancel WINDOW_DIALOG_BUSY_NOCANCEL 10160 DialogBusy.xml
musicplaylist WINDOW_MUSIC_PLAYLIST 10500 MyPlaylist.xml
music WINDOW_MUSIC_NAV 10502 MyMusicNav.xml
musicplaylisteditor WINDOW_MUSIC_PLAYLIST_EDITOR 10503 MyMusicPlaylistEditor.xml
teletext WINDOW_DIALOG_OSD_TELETEXT 10550
pvrguideinfo WINDOW_DIALOG_PVR_GUIDE_INFO 10600 DialogPVRInfo.xml
pvrrecordinginfo WINDOW_DIALOG_PVR_RECORDING_INFO 10601 DialogPVRInfo.xml
pvrtimersetting WINDOW_DIALOG_PVR_TIMER_SETTING 10602 DialogSettings.xml
pvrgroupmanager WINDOW_DIALOG_PVR_GROUP_MANAGER 10603 DialogPVRGroupManager.xml
pvrchannelmanager WINDOW_DIALOG_PVR_CHANNEL_MANAGER 10604 DialogPVRChannelManager.xml
pvrguidesearch WINDOW_DIALOG_PVR_GUIDE_SEARCH 10605 DialogPVRGuideSearch.xml
pvrchannelscan WINDOW_DIALOG_PVR_CHANNEL_SCAN 10606 none (unused)
pvrupdateprogress WINDOW_DIALOG_PVR_UPDATE_PROGRESS 10607 none (unused)
pvrosdchannels WINDOW_DIALOG_PVR_OSD_CHANNELS 10608 DialogPVRChannelsOSD.xml
pvrchannelguide WINDOW_DIALOG_PVR_CHANNEL_GUIDE 10609 DialogPVRChannelGuide.xml
pvrradiordsinfo WINDOW_DIALOG_PVR_RADIO_RDS_INFO 10610 DialogPVRRadioRDSInfo.xml
pvrrecordingsettings WINDOW_DIALOG_PVR_RECORDING_SETTING 10611 DialogSettings.xml
WINDOW_DIALOG_PVR_CLIENT_PRIORITIES 10612 DialogSettings.xml
tvchannels WINDOW_TV_CHANNELS 10700 MyPVRChannels.xml
tvrecordings WINDOW_TV_RECORDINGS 10701 MyPVRRecordings.xml
tvguide WINDOW_TV_GUIDE 10702 MyPVRGuide.xml
tvtimers WINDOW_TV_TIMERS 10703 MyPVRTimers.xml
tvsearch WINDOW_TV_SEARCH 10704 MyPVRSearch.xml
radiochannels WINDOW_RADIO_CHANNELS 10705 MyPVRChannels.xml
radiorecordings WINDOW_RADIO_RECORDINGS 10706 MyPVRRecordings.xml
radioguide WINDOW_RADIO_GUIDE 10707 MyPVRGuide.xml
radiotimers WINDOW_RADIO_TIMERS 10708 MyPVRTimers.xml
radiosearch WINDOW_RADIO_SEARCH 10709 MyPVRSearch.xml
tvtimerrules WINDOW_TV_TIMER_RULES 10710 MyPVRTimers.xml
radiotimerrules WINDOW_RADIO_TIMER_RULES 10711 MyPVRTimers.xml
FullscreenLiveTV WINDOW_FULLSCREEN_LIVETV 10800 None (shortcut to fullscreenvideo)
fullscreenradio WINDOW_FULLSCREEN_RADIO 10801 None (shortcut to visualisation)
fullscreenlivetvpreview WINDOW_FULLSCREEN_LIVETV_PREVIEW 10802 None (shortcut to fullscreenlivetv)
fullscreenradiopreview WINDOW_FULLSCREEN_RADIO_PREVIEW 10803 None (shortcut to fullscreenradio
fullscreenlivetvinput WINDOW_FULLSCREEN_LIVETV_INPUT 10804 None (shortcut to fullscreenlivetv)
fullscreenradioinput WINDOW_FULLSCREEN_RADIO_INPUT 10805 None (shortcut to fullscreenradio)
gamecontrollers WINDOW_DIALOG_GAME_CONTROLLERS 10820 DialogGameControllers.xml
games WINDOW_GAMES 10821 MyGames.xml
gameosd WINDOW_DIALOG_GAME_OSD 10822 GameOSD.xml
gamevideofilter WINDOW_DIALOG_GAME_VIDEO_FILTER 10823 DialogSettings.xml
gameviewmode WINDOW_DIALOG_GAME_STRETCH_MODE 10824
gamevolume WINDOW_DIALOG_GAME_VOLUME 10825
gameadvancedsettings WINDOW_DIALOG_GAME_ADVANCED_SETTINGS 10826
gamevideorotation WINDOW_DIALOG_GAME_VIDEO_ROTATION 10827
Custom Skin Windows - - custom*.xml
selectdialog WINDOW_DIALOG_SELECT 12000 DialogSelect.xml
musicinformation WINDOW_DIALOG_MUSIC_INFO 12001 DialogMusicInfo.xml
okdialog WINDOW_DIALOG_OK 12002 DialogConfirm.xml
movieinformation WINDOW_DIALOG_VIDEO_INFO 12003 DialogVideoInfo.xml
fullscreenvideo WINDOW_FULLSCREEN_VIDEO 12005 VideoFullScreen.xml
visualisation WINDOW_VISUALISATION 12006 MusicVisualisation.xml
slideshow WINDOW_SLIDESHOW 12007 SlideShow.xml
weather WINDOW_WEATHER 12600 MyWeather.xml
screensaver WINDOW_SCREENSAVER 12900 none
videoosd WINDOW_DIALOG_VIDEO_OSD 12901 VideoOSD.xml
videomenu WINDOW_VIDEO_MENU 12902 none
videotimeseek WINDOW_VIDEO_TIME_SEEK 12905 none
fullscreengame WINDOW_FULLSCREEN_GAME 12906 none
splash WINDOW_SPLASH 12997
startwindow WINDOW_START 12998 shortcut to the current startwindow
startup WINDOW_STARTUP_ANIM 12999 Startup.xml
In addition, there are the following "special" windows whose id is not really a concern (and you'll notice isn't unique)
(Python Windows) - - none
addon - - none

Removed window IDs

  • programssettings - Removed in ?
  • scripts - Removed in v10 Dharma
  • networksettings - Removed in v12 Frodo
  • musicscan - Removed in v12 Frodo
  • videoscan - Removed in v12 Frodo
  • videofiles - Removed in v13 Gotham
  • pvr - Replaced in v14 Helix with more specific PVR windows
  • karaoke - Removed in v16 Jarvis
  • musicoverlay - Removed in v16 Jarvis
  • videooverlay - Removed in v16 Jarvis
  • musicfiles - Removed in v16 Jarvis
  • infodialog - Removed in v17 Jarvis
  • video - Removed in v17 Krypton
  • videolibrary - Removed in v17 Krypton
  • musiclibrary - Removed in v17 Krypton
  • mutebug - Removed in v17 Krypton
  • videossettings - Removed in v17 Krypton
  • musicsettings - Removed in v17 Krypton
  • appearancesettings - Removed in v17 Krypton
  • picturessettings - Removed in v17 Krypton
  • weathersettings - Removed in v17 Krypton


See also