[Gllug] graphical interface

Richard Jones rich at annexia.org
Sun Mar 6 16:57:49 UTC 2005


On Sun, Mar 06, 2005 at 01:04:15PM +0000, J F wrote:
> I wrote a console-based C program recently that I intend to share
> with my colleagues. However, they're having a hard time getting to
> grips with it, complaining it's not very 'user friendly'. So I want to
> give it a graphical interface, but I don't know how I should go about
> this.
>
> Should I try GTK? I'm not much of a programmer... would it be
> difficult to learn? Also, my colleagues use Mac OS X, would I be able
> to port it, using GTK?

Gtk is certainly one possibility.  You'll want to start off with the
Gtk tutorial [http://www.gtk.org/tutorial/].  It's possible to run Gtk
applications on Mac OS X, but the resulting applications don't look
like Mac apps, and require you to be running the X server.

If you're willing to recompile your app with a C++ compiler, then two
other possibilities are WxWidgets [http://www.wxwidgets.org/] and Qt
[http://www.trolltech.com/products/qt/].  These have the advantage
over Gtk that it's much simpler to write a Mac OS X-friendly port of
the application if you use them.

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list