The andlabs UI project provides a generic API that wraps operating-system-native widgets on Windows, Linux, and macOS. Due to this approach, it's largely limited to the lowest common denominator level of functionality, but considering how similar these toolkits are, the resulting API is surprisingly rich.
All widgets inherit from the ui.Control interface, which defines the Show(), Hide(), Enable(), and Disable() methods that all controls must implement (with obvious expected behavior). Additionally, it defines the LibuiControl() and Handle() methods, which provide a pointer to the low-level libui and operating-system widgets, respectively. The use of those methods is generally not recommended and so not covered in this chapter.
When compared to the Qt inspired Walk API of the Chapter 4, Walk - Building Graphical Windows Applications...