Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
Subclass - WindowDialog

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

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