Do you know any cross-platform GUI toolkit like swt for C (using default widgets in each operating system = right pics on eclipse.org/swt) ? There is an开发者_开发技巧 implementation of swt for D language called DWT but I need it for C or C++. Thanks.
- Qt (community)
- wxWidgets
- FLTK
- GTK+
- FOX
- Notus
- VCF - EDIT2 seems to be inactive for a few years
You can read some details in that wiki.
First 4 are pretty popular, the rest I dont know.
EDIT:
8. There is C++ port but it seem Windows only for now
9. SWT/Fox - C++ port on top of FOX toolkit - seems to be dead for more then 3 years
10. Also you can try .NET + Mono. But not for commercial project, I think
Qt, FLTK and GTK+ use their own widgets system, i.e. they replace native windows, buttons, etc. Whereas wxWidgets provides a layer on top of native system. Hence:
- with wxWidgets you get 100% native look&feel on every platform without any effort.
CON - you get native bugs too :). Different behaviour could be undesirable - At least Qt can emulate native look&feel (some people say it is not perfect on MacOS X). Also KDE is written in Qt, so for KDE desktops Qt is native
EDIT2:
Just found this really extensive list of widget toolkits on wikipedia
The qt framework provides crossplatform functionality: http://qt.nokia.com/products
Take a look of wxWidgets.
精彩评论