user736000
user736000

Reputation: 58

User Interface for C-code

I've written a code in linux OS which produces prog.out as output file. Now I've to write GUI for the code.

what are best ways to write it?

PS - I wanted to choose between Java Swings and openGL. Which is best for writing a simple GUI and integrating it with my C- Application

Thanks in advance

Upvotes: 2

Views: 356

Answers (3)

Greenhorn
Greenhorn

Reputation: 668

Try Anjuta... http://projects.gnome.org/anjuta/

Upvotes: 2

David Heffernan
David Heffernan

Reputation: 612894

If you are prepared to use another language (you mention Java) then you may find C++ and Qt to be a good fit. Linking to the existing C code will be trivial and Qt works well on a great many platforms should you ever wish to support other platforms in addition to Linux.

Upvotes: 2

unwind
unwind

Reputation: 399793

OpenGL is a rendering library, not a UI toolkit. Comparing it to Swing doesn't make sense. And you can't choose Swing for a C application, unless you'd rather do the UI in Java and interact with a C "backend".

For a pure C solution, the best choice would probably be the GTK+ toolkit.

Upvotes: 3

Related Questions