Immediate-Mode-UI / Nuklear

A single-header ANSI C immediate mode cross-platform GUI library
https://immediate-mode-ui.github.io/Nuklear/doc/index.html
Other
9.06k stars 542 forks source link

Trying to understand how to work with text input boxes #526

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello!

While trying to find and understand the information on how to work with text input boxes, I met two issues:

  1. Lack of examples: I could only find one example in demo/common/calculator.c, for double type. As I am definitely not brilliant with C, I couldn't figure out how to make it work with strings, and there is not much info on how to handle it.
  2. Lack of documentation: There are no examples on https://immediate-mode-ui.github.io/Nuklear/doc/index.html, and there is only one example on Wiki which is quite too broad in my opinion(though I couldn't exactly understand it due to how it's written)

I love this lib, and I would also love to see some better docs on it. Thanks!

dumblob commented 1 year ago

PRs are very much welcome!

ghost commented 1 year ago

PRs are very much welcome!

I would love to make a PR, but I don't really understand it myself :)