RE: [Java-gnome-developer] Gnome Library
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2003-06-02 12:29:25
|
I am not completely sure I understand the first question so I will ramble on a little and hope I hit the mark. The GNOME desktop environment is built upon a collection/stack of libraries. There is no need to use every library in the collection but you must support dependent libraries. Perhaps an example will demonstrate. The core gnome stack looks like the following (I am leaving out numerous libs for simplicity sake): libgnomeui & libgnome GTK ATK & Pango glib If you are going to write an application using libgnomeui then you must use GTK. This is also true in Java-GNOME. Now to attempt to answer your first question; you cannot use GNOME with SWT. The GTK2 flavor of SWT is simply a wrapper around a subset of the GTK widgets. It includes no support for GNOME except the inherent support that is there since they are both using the same widget toolkit. SWT is a windowing toolkit that provides a cross platform widget set that utilizes the native widget set on a platform where available. Where those widgets are not available it provides its' own implementation. Java-GNOME is a language binding for the GNOME desktop environment. There is no attempt to provide cross platform capabilities. Since the focus is on GNOME there is very tight integration with that desktop environment which doesn't exist in SWT. Which to use? If you want to write a cross platform Java UI I would recommend SWT. If you want to write an Java UI that targets the GNOME desktop environment I would use Java-GNOME. -Jeff -----Original Message----- From: Gabriele Erba [mailto:nz...@ga...] Sent: Sunday, June 01, 2003 5:58 AM To: java-gnome-developers Subject: [Java-gnome-developer] Gnome Library Hi, I'm Gabriele Erba from Milan, Italy. Fist of all I'm sorry for my little english. This is the fist time I post in this mailing-list. I'm used to develop with SWT for creating java application with native look&fell. I have two question: Is it possibile use gnome library with SWT without using Gtk library ? If this is true what are the advantages of Gtk library in comparison with SWT ? Thanks very much. ---- Gabriele Erba Audendum est: fortes adiuvat ipsa Venus (Tibullo) www.gabriele-erba.it ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ java-gnome-developer mailing list jav...@li... https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |