[fpc-pascal]How to write GUI programs?
Michael Van Canneyt
michael.vancanneyt at wisa.be
Wed Sep 11 13:19:17 CEST 2002
On Wed, 11 Sep 2002, Christophe wrote:
> Hello Rainer
> You can take a look to GTKPas which is a object encapsulation of the GTK API
> functions available in FPC. It's more easy to write GUI app with it and your
> code will be shorter and cleaner.
> Note to all :
> I'm thinking of doing the same thing as GTkPas but for GTK2forPascal, the
> wrapper for GTK2 available at SourceForge and maintained by Mattias
> Gaertner. I would like to write a tool which takes all the external
> functions and encapsulate them in object structure. Does someone work on a
> similar project ? Does someone is interested to help ?
Yes. I'm cooperating with someone on this already;
The intention is to put this in the standard packages of FPC, as 'fpgtk'
It is nearly finished; Most components have been converted.
There are a few components left to do.
Programs work under Linux and Windows.
I am writing a GUI fpdoc documentation editor with it.
Originally, the GUI conversion tool used to do this was written in
Delphi. It is now being converted to use the classes it generates.
It is currently written for GTK 1; but as everything is generated from
templates, the expectation is that switching to GTK 2 will be quite
easy and should not take much work as it is a simple change of the
More information about the fpc-pascal