Higher layer
Higher-layer APIs are focused on widgets and the overall layout and behavior of a graphical user interface. Working at this level, a developer wouldn't expect to be dealing with buffers and events but with high-level concepts such as buttons, text areas, and layouts. The types and functions defined at this layer (within the widget package) are designed to be easy to understand from a high level and includes graphical user interface concepts that will be familiar to most developers.
The Shiny widgets (detailed further in the Widgets and material design section later in this chapter) are all written in pure Go and encapsulate any widget logic (such as input handling), as well as rendering (by implementing the node.PaintBase()
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access