|
From: tapia <ta...@ei...> - 2002-02-14 08:18:36
|
> So it seems that we'll use GTK. Great. I love Gnome. :-) > Now I need some advice on how to use GTK while programming in pascal, and > what tools to use to develop, like a free pascal compiler or so.... someone > should compile a list of the "official tools" with some links to resources > and documentation. I think that we all should use the same things. Well, there are some links: http://www.freepascal.org The free pascal compiler. As they say in the web: "The language syntax is semanticly compatible with TP 7.0, some extensions used by Delphi (classes, rtti, exceptions, ansistrings) are also supported." http://www.lazarus.freepascal.org/ A Delphi clon. I don't know how usable is it (I tried it a long time ago), but it is in active development. two GTK binding for Pascal: http://www.freepascal.org/packages/gtk.html This is the "base" binding. I don't know what version of GTK support, but I suppose it is 1.2. GTK 2.0 is now being developed, and I think it's the version we would use. That's the reason I think we would do all the graphical stuff in C. http://gtkpas.sourceforge.net/ Based in the freepascal package, it is better, in my opinion. Absolutely object-oriented design. But I must insist: GTK is C, and the releases for the pascal bindings are not very fast. C is not difficult if you know pascal. The graphical modules would be written in C, and the non-graphical libraries, in pascal. I think it's the better way. > If we decide which tools to use, I'll re-start writing > the interface module. I still have to write the interface-on-the-fly > module..... If we decide to use GTK, it is not necessary to write this. LibGlade (a GNOME library) uses XML for creating intefaces dinamically. When Thasmudyan release a version of the XML parser, we can use it to build the interfaces. ta...@ei... | c~~p ,---------. ta...@us... | ,---'oo ) \ ces...@hi...|( O O )/ --------------------------------| `=^=' / http://www.eitig.com | \ , . / http://www.es.gnome.org | \\ |-----'| / http://lucas.hispalinux.es | ||__| |_|__| |