Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SWT-like GUI toolkit for C or C++

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.

like image 281
bernedef Avatar asked Feb 27 '23 00:02

bernedef


1 Answers

  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

like image 71
Alexander Malakhov Avatar answered Mar 08 '23 13:03

Alexander Malakhov