r/C_Programming • • Jul 20 '24

Question Good GUI libraries?

So Qt is C++ not C, which is fine cause i dont really need something as complicated as Qt.

Nuklear looked good but i havent seen any resources to learn it and it seems made for games rather than used standalone as a user interface.

So i would like to hear your suggestions and learning resources.

Oh, also cross-compatiblility is important please!

48 Upvotes

60 comments sorted by

View all comments

Show parent comment

1

u/catbrane Jul 23 '24

Ah interesting! Yes, gtk4 has a special GValue type for copy-paste of image data (eg. pressing PrtScn, then ^V into a program) called GskTexture (from memory).

The sending and recieving programs have to agree on an image format for the data and I guess this negotiation is failing. Perhaps Windows insists on BMP? I've not looked into it carefully enough.