bool setWndBounds(uint64 handle, int x, int y, int w, int h)
Sets the size and location of the specified window
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
handle |
uint64 The handle of the window |
x |
int The new x position |
y |
int The new y position |
w |
int The new width |
h |
int The new height |
Return
True on success
Remarks
IMPORTANT: While KioWare can be used to open 3rd party applications, it cannot guarantee any security of your kiosk while these applications are in use.It is also possible to show a taskbar with all open apps via the User Interface section of the Configuration Tool.
Examples
var handle = KioUtils.findWnd('My App');
if(KioUtils.setWndBounds(handle, 0, 0, 500, 500))
console.log('Set window bounds');
Requirements
KioWare OS (Linux®) version 1.0 or greater.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.