Re: glib and Xlib



jaafar EL GONNOUNI wrote:
Hello;

What is *glib *adding that the GTK + compared to *Xlib *?

All what is possible with glib with Xlib is feasible, then why create a new
library.

From http://library.gnome.org/devel/glib/stable/glib.html :

GLib is a general-purpose utility library, which provides many useful data types, macros, type conversions, string utilities, file utilities, a main loop abstraction, and so on. It works on many UNIX-like platforms, Windows, OS/2 and BeOS. GLib is released under the GNU Library General Public License (GNU LGPL).


From http://tronche.com/gui/x/xlib/introduction/ :

The X Window System is a network-transparent window system that was designed at MIT. X display servers run on computers with either monochrome or color bitmap display hardware. The server distributes user input to and accepts output requests from various client programs located either on the same machine or elsewhere in the network. Xlib is a C subroutine library that application programs (clients) use to interface with the window system by means of a stream connection. Although a client usually runs on the same machine as the X server it is talking to, this need not be the case.


I hope you can see the difference.

tom


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]