[fpc-pascal]FP newbie

Michael Van Canneyt michael.vancanneyt at wisa.be
Thu Nov 13 15:19:55 CET 2003

On Thu, 13 Nov 2003, Marco van de Voort wrote:

> > Marco,
> >
> > Let me see if I understand your concern...
> Most of the things you replied to aren't my comments, anyway.
> > >>wxWindows is a good library/framework indeed. But why do we need a
> > >>pascal interface to it ? It adds too many layers to the whole system.
> > >>eg: to create a button => pascal-layer->wxWindows->gtk+/motif/win32->window system window.
> >
> > How does LCL work- doesn't it abstract the widget set as well?
> >
> > LCL Button -> LCL Abstraction -> Widget Set -> Windows System
> > Now, correct me if I am wrong- what is *exactly* the difference?
> Your assumption that on Windows there is a window set involved.
> While the picture is ok for e.g. Linux, (mainprogram->LCL->GTK->X-Windows),
> on Windows LCL interfaces directly to win32 (mainprogram->LCL->Windows)
> > My point of view is that by developing a wxWindows GUI, Lazarus would
> > benefit from a mature and well organized abstraction layer- that is it. I
> > know that I could build a wxLCL and offer it to the community sometime in
> > the future.
> Widget sets can be added to the LCL, so I don't think Lazarus will
> have a problem with including a donated wxWindows backend
> Wxwindows would be in the place of gtk so it would be
> mainprogr->LCL->wxWindows
> (and then wxWindows internal dependancies)
> > I just wanted to know why build yet another Window System abstraction
> > layer when there is good, mature, stable, and fast options around.
> The LCL is much more than a widget set. It is the base building block of a
> RAD system. And also it quite Delphi VCL compatible in spirit (to allow easy
> porting).
> Moreover wxWindows is relatively recent. It wasn't around in a stable form
> when Lazarus was started.

Strange. As far as I know, it was around and used way before Lazarus appeared.
It was already around at least in 1995, even before the first release of FPC...

Which doesn't invalidate any of your arguments, of course. Just a
historical note.


More information about the fpc-pascal mailing list