In order to work with multiple widget windows, the app needs to be able to delete windows.
Name | Type | Mandatory | Description |
---|---|---|---|
windowID | Integer | true | The value of '0' will always be the default main window on the main display and cannot be deleted. |
appID | Integer | true |
This RPC has no additional parameter requirements
{ "id" : 70, "jsonrpc" : "2.0", "method" : "UI.DeleteWindow", "params" : { "windowID" : 2, "appID" : 65368 } }
{ "id" : 70, "jsonrpc" : "2.0", "result" : { "code" : 0, "method" : "UI.DeleteWindow" } }
{ "id" : 70, "jsonrpc" : "2.0", "error" : { "code" : 8, "message" : "The data may not be changed because it is currently in use", "data" : { "method" : "UI.DeleteWindow" } } }