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:

Classes

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.

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()
..