Window object

Event Description
Window.onShow() Event fired when the Window is shown
Window.onHide() Event fired when the Window is hidden
Window.onClose() Event fired when the Window is about to be closed by the user
Window.onMove() Event fired when the Window has changed its position
Window.onResize() Event fired when the Window is resized
Window.onClick() Event fired when the user clicks on the Window
Window.onContext() Event fired when the user right click on the Window
Window.onHover() Event fired when the user moves the mouse pointer over the Window
Window.onKey() Event fired when the user press a key
Window.onCreate() Event fired when Window has just been created
Window.onTrayClick() Event fired when the user clicks on the notification icon of the Window
Window.onTrayDoubleClick() Event fired when the user double-clicks on the notification icon of the Window
Window.onTrayHover() Event fired when the mouse hovers the notification icon of the Window
Window.onTrayContext() Event fired when the user right-clicks on the notification icon of the Window
Window.onMouseDown() Event fired when the user presses a mouse button over the Window
Window.onMouseUp() Event fired when the user releases a mouse button over the Window
Window.onMinimize() Event fired when the Window is minimized
Window.onMaximize() Event fired when the Window is maximized
Window.onRestore() Event fired when the Window has restored its size and position
Property Description Access Type
Window.title Get/set the Window title readwrite string
Window.menu Get/set the Window's main menu bar readwrite Menu
Window.x Get/set the Window's horizontal position readwrite number
Window.y Get/set the Window's vertical position readwrite number
Window.width Get/set the Window's width readwrite number
Window.height Get/set the Window's height readwrite number
Window.cursor Get/set the image of the mouse cursor as it hovers over the window readwrite string
Window.align Align the Window relative to its parent readwrite boolean
Window.enabled Control whether the window responds to mouse, keyboard and other events readwrite boolean
Window.visible Control whether the window appears onscreen readwrite boolean
Window.topmost Control whether the Window will always stay above others readwrite boolean
Window.fullscreen Control whether the window is fullscreen or not readwrite boolean
Window.font Get/set the window font readwrite string
Window.fontstyle Get/set the window font style readwrite table
Window.fontsize Get/set the window font size readwrite number
Window.bgcolor Get/set the window background color readwrite number
Window.traytooltip Get/set the window's tray icon tooltip readwrite string
Method Description Return value
Window.constructor() Window object constructor Window
Window.align() Align the Window relative to Windows Desktop -
Window.center() Centers the Window on the parent widget -
Window.show() Show the Window -
Window.hide() Hide the Window -
Window.showmodal() Show a Window as modal -
Window.minimize() Minimize the Window to the taskbar -
Window.maximize() Maximize the Window to the entire Desktop -
Window.restore() Restore the Window size and position -
Window.popup() Shows a popup menu at the current window mouse position -
Window.shortcut() Set a new keyboard shortcut -
Window.loadicon() Load the window icon boolean
Window.loadtrayicon() Load the window's tray icon boolean
Window.status() Display messages in the window status bar -
Window.tofront() Brings the Window in front -
Window.toback() Puts the Window to the back -