lazarus/lcl/interfaces/gtk2
marc 37b0e23d7b * Applied patch from Ido
git-svn-id: trunk@5599 -
2004-06-24 20:49:10 +00:00
..
gtk2int.pas * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2interface.lpk * Applied patch from Ido 2004-06-24 20:49:10 +00:00
gtk2interface.pas * Applied patch from Ido 2004-06-24 20:49:10 +00:00
gtk2lclintf.inc * Removed all ComponentCreateHandle routines 2004-03-19 00:53:34 +00:00
gtk2lclintfh.inc * Removed all ComponentCreateHandle routines 2004-03-19 00:53:34 +00:00
gtk2object.inc fixed button return key 2004-05-22 14:35:33 +00:00
gtk2winapi.inc replaced writeln by debugln 2004-05-11 12:16:48 +00:00
gtk2wsactnlist.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsarrow.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsbuttons.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wscalendar.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wschecklst.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsclistbox.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wscomctrls.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wscontrols.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsdbctrls.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsdbgrids.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsdialogs.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsdirsel.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wseditbtn.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsextctrls.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsextdlgs.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsfilectrl.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsforms.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsgrids.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsimglist.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsmaskedit.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsmenus.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wspairsplitter.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsspin.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wsstdctrls.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
gtk2wstoolwin.pp * Fixes some typos and changes uses clause cases 2004-03-17 19:59:56 +00:00
interfaces.pas * Renamed TGtk2Object to TGtk2WidgetSet 2004-03-05 00:41:15 +00:00
Makefile updated Makefiles 2004-03-18 22:42:16 +00:00
Makefile.fpc splitted output directories for cross compilation 2003-12-20 01:20:53 +00:00
README updated README 2003-09-05 19:33:50 +00:00

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.