There are some times that I make something and the terminal isn’t enough. I want to make it user-friendly and add buttons and dropdowns and stuff. I mainly write C, so I want a well-known and good GUI library for C. I have tried learning Qt but the documentation was awful and all the examples were for C++ or Python. I also am aware about libraries like imgui but it’s more for debugging UIs I think and not for normal applications that end users use.

I also would like the library to be platform-agnostic, or at least just work with Linux because that’s what I am using.

If you also code in C, what do you use to make GUIs? What do you suggest me to use?

Thanks in advance.

Also, if anyone suggests Electron or anything involving a browser, I will find them and remove one electron from each atom of theirs, turning them into smoke.

  • refalo@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    21 hours ago

    I have tried learning Qt but the documentation was awful

    I found the Qt documentation to be quite excellent, with tons of examples and a huge community.

    But for C I typically use nuklear. There’s also microui.

    • Thorry@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      18 hours ago

      I’m going to have to second the Qt documentation assessment. They have very good documentation and there’s also a lot of books available about Qt. I always prefer a good book as opposed to online docs. But I learned to program before the internet was a thing, so reading books for documentation was the norm for me for a long time.