Hi!
The GLib-Unit for Gnu-Pascal is available at ftp://agnes.dida.physik.uni-essen.de/~lange/
This unit provides: - singly and doubly linked lists, - hash-tables, - caches, - date/time - functions and much more.
This unit is also basically needed to port gdk which is needed to port gtk :-)
IMHO this unit is very useful for programmers, even without interest on the development of graphical user interfaces.
Have fun with it.
Eike
In article 20001215150158.G5509@mond.dida.physik.uni-essen.de, Eike Lange eike.lange@uni-essen.de writes
This unit is also basically needed to port gdk which is needed to port gtk :-)
Thank you for your efforts. Are you intending to port gtk to gpc? It would be very nice if somebody did.
On Fri, Dec 15, 2000 at 02:59:03PM +0000, Martin Liddle wrote:
In article 20001215150158.G5509@mond.dida.physik.uni-essen.de, Eike Lange eike.lange@uni-essen.de writes
This unit is also basically needed to port gdk which is needed to port gtk :-)
Thank you for your efforts. Are you intending to port gtk to gpc? It would be very nice if somebody did.
Eike and I are going to port Gtk to GPC; until now Eike has concentrated his efforts on Glib/Gdk, whose importance is in the fact that they underlie Gtk. Despite that, they can be used independently, as Eike pointed out.
Our approach is to upload our units to public FTP on agnes, so that if anybody wants to help us out with the project, he's welcome. We'll give further information (read 'the URL') ASAP.
Currently I wrote the base GtkObject unit, along with GtkBin, GtkContainer, GtkWidget, but yet I have to test them. Please hold on a while... ;-)
Regards,
On 15 Dec 2000, at 19:51, Nicola Girardi wrote:
Eike and I are going to port Gtk to GPC; until now Eike has concentrated his efforts on Glib/Gdk, whose importance is in the fact that they underlie Gtk. Despite that, they can be used independently, as Eike pointed out.
Our approach is to upload our units to public FTP on agnes, so that if anybody wants to help us out with the project, he's welcome. We'll give further information (read 'the URL') ASAP.
Currently I wrote the base GtkObject unit, along with GtkBin, GtkContainer, GtkWidget, but yet I have to test them. Please hold on a while... ;-)
Just for your information - the FreePascal people have a port of Gtk to FreePascal. Perhaps you can use some of their code?
Best regards, The Chief --------- Prof. Abimbola Olowfoyeku, PhD (The African Chief) Email: african_chief@bigfoot.com WWW: http://www.bigfoot.com/~african_chief
On Wed, Dec 20, 2000 at 04:31:09PM +1100, Prof. A Olowofoyeku (The African Chief) wrote:
On 15 Dec 2000, at 19:51, Nicola Girardi wrote:
Eike and I are going to port Gtk to GPC; until now Eike has concentrated his efforts on Glib/Gdk, whose importance is in the fact that they underlie Gtk. Despite that, they can be used independently, as Eike pointed out.
Just for your information - the FreePascal people have a port of Gtk to FreePascal. Perhaps you can use some of their code?
Yes, we know. The port is quite a bit different from our approach, so I do everything by my own and use the FPC-port as a reference (sometimes).
Is there anyone out there, who would like to port the original-delphi-classes (tm) (c) (r) (whatever) to gpc, using gtk? Another suggestion would be a port from 'glade' (http://glade.pn.org/), a GUI-designer for gtk.
Eike
On 20 Dec 2000, at 9:50, Eike Lange wrote:
On Wed, Dec 20, 2000 at 04:31:09PM +1100, Prof. A Olowofoyeku (The African Chief) wrote: > On 15 Dec 2000, at 19:51, Nicola Girardi wrote: > > Eike and I are going to port Gtk to GPC; until now Eike has > > concentrated his efforts on Glib/Gdk, whose importance is in the > > fact that they underlie Gtk. Despite that, they can be used > > independently, as Eike pointed out. > Just for your information - the FreePascal people have a port of Gtk to > FreePascal. Perhaps you can use some of their code?
Yes, we know. The port is quite a bit different from our approach, so I do everything by my own and use the FPC-port as a reference (sometimes).
Is there anyone out there, who would like to port the original-delphi-classes (tm) (c) (r) (whatever) to gpc, using gtk?
I might be interested. I already have a working (and portable) port of the Delphi Sysutils unit (look on agnes, in /home/chief/), and I have a "sort of" clone of the Object Windows Library (OWL), but it only works on Win32 platforms. If the Gtk port is ready (and I can understand it - I have never used Gtk before, and I wouldn't even have any idea of how to do the easiest thing, e.g., create a window and add some controls to it), I might be able to start something. However, it is not possible to port the original Delphi units without support for "classes" in the GPC compiler. Classes are fundamental to the Delphi VCL, and GPC currently supports only the old BP objects. It might be easier to do something similar to the old OWL. But first things first. My suggestion is that, when you finish porting Gtk, please try and include some portable example applications. First, a simple one that just creates a window with a title bar and a system menu; then one that improves on that, and creates user defined menus and attaches functions to some menu choices; then one that adds a button and an edit control, etc., etc. (i.e., each example increases in complexity). That way, Gtk novices like me can have a reference point to start to do something.
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku, PhD (The African Chief) Email: african_chief@bigfoot.com WWW: http://www.bigfoot.com/~african_chief
On Thu, Dec 21, 2000 at 09:39:43AM +1100, Prof. A Olowofoyeku (The African Chief) wrote:
On 20 Dec 2000, at 9:50, Eike Lange wrote:
Is there anyone out there, who would like to port the original-delphi-classes (tm) (c) (r) (whatever) to gpc, using gtk?
I might be interested.
:-))))
If the Gtk port is ready (and I can understand it - I have never used Gtk before, and I wouldn't even have any idea of how to do the easiest thing, e.g., create a window and add some controls to it), I might be able to start something.
Just for the taste of it, you might be interested in trying out the examples in ftp://agnes.dida.physik.uni-essen.de/~lange/gtkunit-20001119.tar.gz
I'm going to remove this, when we (Nicola and I) finished the gtk-port.
[...]
That way, Gtk novices like me can have a reference point to start to do something.
We'll do our very best :-)
Eike