Click to See Complete Forum and Search --> : Is there something like an api for X?


Marcel2008
04-02-2002, 04:19 PM
Is there an api for XFree? Just like the Win32 api is for windows?

Christian Olsson
04-02-2002, 04:24 PM
Well there is the xlib which I never used. But I've looked at some programs that used it and I would recommend using QT or some other toolkit since the xlib is quite lowlevel.

Bradmont5
04-02-2002, 05:48 PM
GTK+ reference manual (http://developer.gnome.org/doc/API/gtk/index.html)

GTK-- Tutorial (GTK+ C++ wrappers) (http://gtkmm.sourceforge.net/tutorial/t1.html)

GTK-- class reference (http://gtkmm.sourceforge.net/docs/gtk/class_index.html)

TacKat
04-02-2002, 05:48 PM
Xlib is the API for using the X window system, but it's not exactly like the Windows API. There aren't any controls ready for you to stick in your programs. Things like QT and GTK can provide those, or you can build your own.

kmj
04-02-2002, 09:26 PM
:cool: Qt (http://www.trolltech.com/products/qt/) :cool:

You'll want to use either Qt or Gtk (or some other widget package)... writing directly for Xlib is a hassle.

bwkaz
04-02-2002, 10:01 PM
kmj -- "hassle" isn't quite the word for it.... it's more of a "major pain in the ... well ... let's just say neck".

TheBouleOfFools
04-04-2002, 01:00 AM
major pain in the ***