Skinning
As well as defining its own style for the widgets included, Nuklear supports skinning—loading a theme to change how applications look. This is a powerful feature—very similar to the themes that we saw with GTK+ and Qt, but selected by the application instead of the end user. Any nk application developer looking to set up skinning for their application may find that it isn't easy to do—this is due to the way that most configuration is expose through C structures from the underlying Nuklear API. While these elements are mostly available through the Go API binding, it requires a lot of pointer conversion and unsafe assignments that could affect the stability of your application. It would be possible, however, to write some C code and ...
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