Re: [Java-gnome-developer] generating code from glade
Brought to you by:
afcowie
From: Mark H. <mh...@ca...> - 2003-12-15 15:52:39
|
On Mon, Dec 15, 2003 at 04:29:26PM +0100, Alex Moreno wrote: > I´ve seen that glade can generate code for diferent languages. Ada, It is a really horrible way of programming. When you use libglade, you can easily edit the user interface without having to mess around with the program source code. If you generate sources, you would then have to manually merge all your changes into a new set of source files for any changes you make to the ui. If a tool could do these merges automatically, this might be good (e.g. Visual Basic style), but that would be a full RAD tool, not glade. Also, for java-gnome, using libglade brings slight performance advantages. Generation of the ui is all done natively with libglade. If the same interface was generated from java code, it would require many jni calls, which are expensive. I really look forward to reading your tutorial - it is a vital missing document in java-gnome at the moment. I hope you will be able to maintain this document in the future - some ideas I have already for extra sections include: - glade custom widgets (soon to be implemented) - localisation with java, glade and gnu gettext (see recent email to this list from Bruno Haible) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |