In general, the situation is this.

I want to develop a C GUI in Windows 10 . Everyone recommends using GTK + for this purpose.

Yes, I know about the existence of Qt and C ++ , I worked with C ++ for a while, I know it quite well, including C ++ 11/14 , and therefore intentionally and reasonably would not like to use this language in my work. I already had enough problems and difficulties with it. With language C, there are practically no problems. It works like a Kalashnikov assault rifle.

The question is not in taste, but in long-term planning.

I really like GTK + in terms of API . The problem is that the GTK + installed under the official Windows manual is crooked.

First, Glade stably falls. Any version that I managed to find, even the one that is put through MSYS2 .

Secondly, even a simple window with a dozen of widgets is very slow, and when you change its size, all kinds of files and warnings constantly appear in the console, and finally the segmentation fault falls out.

1) Tell me what am I doing wrong? After all, such problems should not be? Or is it all so? I just can not believe that the release of GTK + for Windows is released with such serious problems.

2) Maybe there are alternatives for GTK + ? I would not want to write a GUI on the Win API

3) What is generally accepted now to write a GUI ? Something, of course, is desirable that has the ability to easily link to DLLs written in C.

  • Alternatives to WinAPI: wxWidgets (it contains IDEs like CodeBlocks and CodeLite), C # WinForms / WPF, Delphi VCL. - zed
  • I am interested in libraries under C, I know about the above, thanks. - user294535
  • With GTK + problems it was not working fine. - Yaroslav

1 answer 1

Itself did not try, but it can as an option http://webserver2.tecgraf.puc-rio.br/iup/

  • Gotta try, interesting stuff. And about GTK +, did you have any problems with it? - user294535
  • Yes, there were problems. I did not even understand. Stupidly spat on this thing. - Anton
  • I can't do that, I have to understand <red eyes> - user294535