Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

C and GUI's

 
frank braunstein
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Forum users,
is there any easy to use GUI-library for C, similar to Swing on Java. I've been doing unsuccessfully research on this since two days.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the terms "easy to use GUI" and C language are incompatible. Made worse by the idea that you probably want the GUI to be OS-platform independent. Of course, its all software, so anything is possible.

Back in the 1980s, I wrote C code for Windows 386. It was possible, but it sure was not easy to use.

I rarely see "C" and "GUI" in the same set of requirements. While there is tons of C being written in the embedded space, that world does not do WIMP GUI work.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree that "easy to use" and C (or C++) don't go hand in hand, at least not in the world of free software. (Some of the commercial GUI libraries may be easier to get started with.)

Personally, I don't think that X11/Xt is hard. It's obsolete, the code is certainly verbose, and it's not fun to program - but X is widely available and free. It all depends a bit on which platform the code is supposed to run on, and how you intend to distribute the application (if at all).
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a number of excellent solutions these days, actually -- Qt and wxWidgets are probably the two leading contenders. Both are cross-platform and both are perfectly decent.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic