libgtk-use in gpc-pascal-programs under linux
Hallo,...... ......i want to use the libgtk for my gpc-pascal-programs. for this i search an unit/module, that implements the gtk-library. Who can help me? thanks and cu Mike -- http://ekim.home.pages.de Mike Neuhaus ********PRO Heimerziehung heit PRO Zukunft********** Die Heimerziehung bedarf nicht ihrer eigenen Abschaffung,sondern einer durch Innovation geprgten Reform m
Hallo!
......i want to use the libgtk for my gpc-pascal-programs. for this i search an unit/module, that implements the gtk-library. Who can help me?
As far as I know, there is no ready-to-use unit to use the GTK library from GPC, but it is straightforward to write one. (It may be a lot of work, though.) For an explanation how to translate a C header file into a Pascal unit, see the GPC FAQ list, section "How do I use <insert_your_function_here> from the C library", available at http://home.pages.de/~GNU-Pascal/gpc-faq.html . For a real-world example, see the unit `grx20.pas' in the GRX package, available in the package `v2tk/grx23.zip' from your favourite DJGPP disribution, for instance from ftp://ftp.ruhr-uni-bochum.de/pub/simtelnet/gnu/djgpp/v2tk/grx23.zip . (While GRX is part of a package of DOS programming tools, it works fine under Linux, so don't get confused.:-) Hope this helps, Peter PS: If you succeed, let us know, so we can distribute the new unit with GPC! ;-) -- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980830 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/
participants (2)
-
Mike Neuhaus -
Peter Gerwinski