package neko.vm
Available on neko
Core native User Interface support. This API uses native WIN32 API on Windows, Carbon API on OSX, and GTK2 on Linux.
staticisMainThread():BoolTells if the current thread is the main loop thread or not. The main loop thread is the one in which the first "ui" library primitive has been loaded.
staticloop():VoidStarts the native UI event loop. This method can only be called from the main thread.
staticstopLoop():VoidStop the native UI event loop. This method can only be called from the main thread.
staticsync(f:() ‑> Void):VoidQueue a method call callb to be executed by the main thread while running the UI event loop. This can be used to perform UI updates in the UI thread using results processed by another thread.
staticsyncResult<T>(f:() ‑> T):T
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/neko/vm/Ui.html