On Mon, 2003-08-25 at 07:08, Sharninder wrote: > hi, > I have a small doubt here ... Whats the difference between Gnome and GTK. I > know Gnome is a desktop and developer platform built using the GTK toolkit, > but what i want to know is if i have to develop a program, should i be using > the Gnome libraries or GTK and wats the difference from a programmers point > of view ?
Gnome is a desktop framework which enables things such as communication between applications, a virtual filesystem etc. GTK is simply a widget toolkit, providing items like text boxes, spin buttons, labels, viewports etc. A program written with GTK can run independantly of Gnome - all you need are the Gtk libs. So, even if you run KDE you can still run a GTK app. The look and feel of Gnome arises from the fact that it is written using GTK. However if your app is a Gnome app, you will need the GTK libs as well as the Gnome libs relevant to your program. The thing is if you write a Gnome program, you are tied to the Gnome environment. If you just use GTK yoiu can run it anywhere where GTK is available. Of course, in the latter case you forgoe the functionality provided by the Gnome framework ------------------------------------------------------------------- Rajarshi Guha <[EMAIL PROTECTED]> <http://jijo.cjb.net> GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE ------------------------------------------------------------------- All the passions make us commit faults; love makes us commit the most ridiculous ones. -- La Rochefoucauld -- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3
