[fpc-pascal]GTK problem

Vincent Snijders VSDS at RND.VB.CBS.NL
Mon Oct 6 11:15:05 CEST 2003


> -----Oorspronkelijk bericht-----
> Van: Peter Huesser [mailto:peter.huesser at psi.ch]
> 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?

You should probably use the gtk2 for pascal units, which can be found at
http://gtk2forpascal.sourceforge.net/, instead of the gtk units that
came with fpc 1.0.10. Those units are for gtk 1.2.

Regards,
Vincent Snijders.




More information about the fpc-pascal mailing list