golang-ui / nuklear

This project provides Go bindings for nuklear.h — a small ANSI C GUI library.

Home Page:https://github.com/vurtun/nuklear

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is etc file and what kind of needs is used for ?

TechComSpot opened this issue · comments

Hi, @xlab.

Unfortunately I did find this from the project documentation either from posted issues.

Can anyone tell for the nob like me, please?

We put any helpers that improve usability of Nuklear in that file. For example, many Nuklear configuration options should be set as a private fields of an inner C struct, e.g. #54 or someone need to read the state that can only be accessed using inner fields of C struct #47

So etc.go contains manually written setters and getters. Hopefully this explains well :)