SWT-like GUI toolkit for C or C++

让人想犯罪 __ 提交于 2019-12-19 04:05:02

问题


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:


  1. Qt (community)
  2. wxWidgets
  3. FLTK
  4. GTK+
  5. FOX
  6. Notus
  7. 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.



来源:https://stackoverflow.com/questions/2868662/swt-like-gui-toolkit-for-c-or-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!