Move window

From Bennu Wiki
Jump to: navigation, search


Definition

INT move_window ( <INT x> , <INT y> )

Moves the Bennu window so that the top left of the window is on the specified (x,y).

Also called Set window pos().

Parameters

INT x - The new X coordinate of the top left of the window.
INT y - The new Y coordinate of the top left of the window.

Returns

INT : true


Mod_wm
Globals None
Imported:
ExitstatusFocusstatusFullscreenGraphmodeM7MousestatusScalemodeScaleresolutionScaleresolutionaspectratioScaleresolutionorientationWindowstatus
Constants None
Imported:
DOUBLEBUFFERHWSURFACEM1024X768M1280X1024M320X200M320X240M320X400M360X240M376X282M400X300M512X384M640X400M640X480M800X600MODE16BITSMODE16BPPMODE2XSCALEMODE8BITSMODE8BPPMODEDOUBLEBUFFERMODEFRAMELESSMODEFULLSCREENMODEHARDWAREMODEMODALMODEWAITVSYNCMODEWINDOW
Functions Getdesktopsize()Getwindowpos()Getwindowsize()Minimize()Movewindow()Seticon()Settitle()Setwindowpos()