[fpc-pascal]GTK problem

Michael Van Canneyt michael.vancanneyt at wisa.be
Mon Oct 6 11:17:20 CEST 2003


On Mon, 6 Oct 2003, Peter Huesser wrote:

> Hello
>
> I am just learning gtk and try to translate the examples in the "GTK+2.0 Tutorial" from Tony Gale and Ian Main to fpc. In chapter 7 there is a simple button example which uses the "gtk_image_new_from_file" function to load a xpm file. This function is included in the gtk2 release but fpc does not find it. I guess the gtk interface from fpc is not up to date with the newer releases of gtk (I am using fpc version 1.0.10). Is this correct ? If yes what release does fpc relay on and are there any plans to make the newer gtk features available ?

The gtk units provided by FPC are for version 1.X of GTK only.

The GTK 2 units are hosted on Sourceforge.
http://sourceforge.net/projects/gtk2forpascal/


Michael.




More information about the fpc-pascal mailing list