permaculture playing cards
The moose likes C / C++ and the fly likes C and GUI's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » C / C++
Bookmark "C and GUI Watch "C and GUI New topic

C and GUI's

frank braunstein
Ranch Hand

Joined: Dec 17, 2009
Posts: 60
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

Joined: Aug 11, 2007
Posts: 4659

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

Joined: Oct 14, 2008
Posts: 1337
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

Joined: Jul 08, 2003
Posts: 24199

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.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: C and GUI's
It's not a secret anymore!