mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-28 18:02:44 +02:00
|
||
---|---|---|
.. | ||
gtk2int.pas | ||
gtk2interface.lpk | ||
gtk2interface.pas | ||
gtk2lclintf.inc | ||
gtk2lclintfh.inc | ||
gtk2object.inc | ||
gtk2winapi.inc | ||
gtk2wsactnlist.pp | ||
gtk2wsarrow.pp | ||
gtk2wsbuttons.pp | ||
gtk2wscalendar.pp | ||
gtk2wschecklst.pp | ||
gtk2wsclistbox.pp | ||
gtk2wscomctrls.pp | ||
gtk2wscontrols.pp | ||
gtk2wsdbctrls.pp | ||
gtk2wsdbgrids.pp | ||
gtk2wsdialogs.pp | ||
gtk2wsdirsel.pp | ||
gtk2wseditbtn.pp | ||
gtk2wsextctrls.pp | ||
gtk2wsextdlgs.pp | ||
gtk2wsfilectrl.pp | ||
gtk2wsforms.pp | ||
gtk2wsgrids.pp | ||
gtk2wsimglist.pp | ||
gtk2wsmaskedit.pp | ||
gtk2wsmenus.pp | ||
gtk2wspairsplitter.pp | ||
gtk2wsspin.pp | ||
gtk2wsstdctrls.pp | ||
gtk2wstoolwin.pp | ||
interfaces.pas | ||
Makefile | ||
Makefile.fpc | ||
README |
The gtk2 interface for lazarus ============================== The gtk2 interface for lazarus is a descendant of the gtk interface. It is not yet complete. For those who want to help us here are some hints: 1. The gtk2 interface needs the gtk2 bindings 'gtk2forpascal' from http://sourceforge.net/projects/gtk2forpascal/. Please download the latest cvs in a directory of your choice. It contains the package gtk2forlazarus.lpk. For example: []$ export CVS_RSH=ssh []$ export CVSROOT=:pserver:anonymous@cvs.gtk2forpascal.sourceforge.net:/cvsroot/gtk2forpascal []$ cvs login []$ cvs -z3 co gtk2 2. Open the package gtk2forlazarus.lpk. The package contains all the needed search paths and compiler options to compile a 'gtk2 application' in lazarus. A gtk2 application is a program, that uses the gtk2 libs. Don't confuse this with a 'LCL application using the gtk2 interface'. 3. Open the package <lazarusdir>/lcl/interfaces/gtk2/gtk2interface.lpk. This package contains all the needed compiler options to compile the gtk2 interface for the LCL. 4. Create a new lazarus application. This project will be used to test the gtk2 interface and to store all configuration steps. Open the project inspector and add 'GTK2Interface' as required package to the project. Then open the compiler options and set as widget type 'gtk2'. When you compile your program, the IDE will automatically compile the bindings and the gtk2 interface. When you save the project, the IDE will remember the above steps, so you have to the above steps only once.