A free and open source framework for building powerful, fast, and elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the Web with a single pure Go codebase, allowing you to Code Once, Run Everywhere.
These functions are no longer necessary with the new render context mutex that ensures concurrency safety for everything with the AsyncLock and AsyncUnlock functions. All UpdateStart calls can be removed, and UpdateEndRender should become NeedsRender, and UpdateEndLayout should become NeedsLayout. This reduces code boilerplate significantly and makes updating much simpler and easier to understand; Update is now the single, easy, common end-user pathway to fully update a widget.
These functions are no longer necessary with the new render context mutex that ensures concurrency safety for everything with the
AsyncLock
andAsyncUnlock
functions. AllUpdateStart
calls can be removed, andUpdateEndRender
should becomeNeedsRender
, andUpdateEndLayout
should becomeNeedsLayout
. This reduces code boilerplate significantly and makes updating much simpler and easier to understand;Update
is now the single, easy, common end-user pathway to fully update a widget.