Kodi Development  20.0
for Binary and Script based Add-Ons
Subclass - 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.

Parameters
windowId[opt] Specify an id to use an existing window.
Exceptions
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.


Example:

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