Kodi Documentation  20.0
Kodi is an open source media player and entertainment hub.
Subclass - WindowDialog

GUI window dialog class for Add-Ons. More...

Collaboration diagram for Subclass - WindowDialog:


class  XBMCAddon::xbmcgui::WindowDialog

Detailed Description

GUI window dialog class for Add-Ons.

Class: xbmcgui.WindowDialog(int windowId):

Creates a new window from Add-On usable dialog class. This is to create window for related controls by system calls.

windowId[opt] Specify an id to use an existing window.
ValueErrorif supplied window Id does not exist.
Exceptionif more then 200 windows are created.

Deleting this window will activate the old window that was active and resets (not delete) all controls that are associated with this window.


dialog = xbmcgui.WindowDialog()
width = dialog.getWidth()