Static variables

staticallowTimeout:Bool

Can be used to temporarly disable infinite loop check

staticread onlyheight:Int

staticread onlylang:String

staticread onlyplatform:Platform

staticread onlyscreenDPI:Float

staticread onlywidth:Int

@:value(setNativeCursor)staticsetCursor:Cursor ‑> Void = setNativeCursor

Sets current cursor and can be replaced by custom function to manually operate displayed cursor. When called, it should call hxd.System.setNativeCursor and pass desired hxd.Cursor to it.

Static methods

staticexit():Void

staticgetCurrentLoop():() ‑> Void

staticopenURL(url:String):Void

staticsetLoop(f:() ‑> Void):Void

staticsetNativeCursor(c:Cursor):Void

Sets currently shown cursor. This method is designated to be used by custom hxd.System.setCursor. Calling it outside of automated Interactive cursor update system leads to undefined behavior, and not advised.

staticstart(callb:() ‑> Void):Void

statictimeoutTick():Void

If you have a time consuming calculus that might trigger a timeout, you can either disable timeouts with [allowTimeout] or call timeoutTick() frequently.