Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Your best library for create GUI ( gtk, qt, win32 api, etc )? [closed]

Tags:

In your opinion, what is the best way to create gui in Windows ? with gtk or win32 api ?

Do you recommend GTK for windows ? Yes ? NO ? Why ?

like image 706
xRobot Avatar asked Oct 29 '10 00:10

xRobot


People also ask

Does Windows use GTK or Qt?

GTK can be also run on Microsoft Windows, where it is used by some popular cross-platform applications like Pidgin and GIMP. wxWidgets, a cross-platform GUI tool-kit, uses GTK on Linux by default.

Which is easier Qt or GTK?

It probably depends on what you want to do. I would recommend Qt, because it's more than GUI, it has nice Python bindings (so does Gtk), and GUI libraries themselves are (subjectively speaking) more pleasant then Gtk. Gtk is on the other hand more common in linux world, so you can probably get more help on the web.

Does Qt use win32 API?

You can use win32 APIs as regular C functions. There is no difference in QT and other C++ programs. Show activity on this post. This works great.

Is wxWidgets native?

Whenever possible, wxWidgets uses the native platform SDK and system provided widgets. This means that a program compiled on Windows will have the look and feel of a Windows program, and when compiled on a Linux machine, it will get the look and feel of a Linux program.


1 Answers

If you are making the gui only for windows, I would strongly recommend WIN 32 Api. I have Made many applications in GTK+ , pyGtk , FLTK and have learned Qt, MFC and SmartWin++. Believe me , But I like Win32 Api the best. It may have a steep learning curve, but for creating native windows applications , it is the fastest and the BEST. And the more complex youre program gets, the easier Win32 Api is compared to other toolkits. And there are things you can do in Win32 Api, which you can not do in any other toolkit.

TESTED:

starting time (simple gui with menu and buttons): GTK+ = 7 secs; Qt = 4 secs; WxWidgets = 3.32 seconds; FLTK = 1 second; Win32 Api = 0.34 seconds;

space taken: Gtk+ = 132 kb; Qt = 4.5 mb; WxWidgets = 4.5 mb; FLTK = 54 kb; Win32 Api = 6.5 kb;

like image 170
Burning Prodigy Avatar answered Sep 18 '22 09:09

Burning Prodigy