Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Is there any cross platform non native GUI written in C that looks good?
3 points by ArtixFox 57 days ago | hide | past | favorite | 5 comments
Hello, I have been spending my time looking at good looking at cross platform non native gui like flutter and revery.

A sad thing about these libraries is that they do not give me any way of using it in C. Not that i want to use it in C, i just want to be able to use it in Zig

sorry if i said something wrong in my question

have a nice day!




I don't know about non-native, but LibUI offers native GUI in C: https://github.com/andlabs/libui

Better yet, it has excellent DSLs that make it possible to build desktop apps in a way similar to HTML, but much better due to keeping all code dynamic in one language (no static/dynamic multi-language separation/mixing dissonance): https://github.com/AndyObtiva/glimmer-dsl-libui

By the way, with the `area` control (widget), you can actually make your app look like anything you want. It lets you do arbitrary painting of vertex graphics while providing keyboard and mouse event listener support to let the user interact with the user-interface, so the sky is the limit.

Also, you can simply compose new custom controls from `area` controls and just work with the new custom controls as higher constructs to build your apps.

In fact, most native GUI toolkits provide non-native support for building any widget you want, so do not think that native widgets limit you. They don't. They in fact provide a better user experience for cases that could utilize predictable-looking basic GUI for non-computer-savvy people while still offering you the extra option of building non-native widgets when you need them.


> By the way, with the `area` control (widget), you can actually make your app look like anything you want. It lets you do arbitrary painting of vertex graphics while providing keyboard and mouse event listener support to let the user interact with the user-interface, so the sky is the limit.

wait wait wait, what? wow. This sounds soo damn good. THANK YOU!!!!


Looking good is very subjective of course… did you take a look at wxWidgets?

https://wxwidgets.org/


I always thought one of the "features" of wxwidgets is that it looked worse than all the other widget sets out there, even Motif.


Im sorry i didnt specify it, but i want something that looks like..err flutter or revery.

Ive not actually looked at wxWidgets, ill look at it, thanks!!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: