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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
- 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
回答2:
The qt framework provides crossplatform functionality: http://qt.nokia.com/products
回答3:
Take a look of wxWidgets.