[Lazarus] Teaching Pascal at College

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Tue Jan 17 10:22:48 CET 2017


On 2017-01-16 20:18, Lars via Lazarus wrote:
> GUI's require wrappers.

No they don't.

> Delphi 5 as an example, is a wrapper around the win32api

Yes, Delphi's VCL is a wrapper around the common Win32 widgets. LCL is a
wrapper around Win32, Qt, Cocoa, Carbon and even fpGUI. But not all GUI
toolkits are designed like than.

For example, fpGUI is not a wrapper around any existing widgets on any
platform. fpGUI implements its own widgets (gui controls) from scratch
and talks directly to the underlying libraries (XLib & GDI) to notify
the system about the top-level window and receiving OS events. All other
behaviour (widget clipping, widget events, widget mouse events etc) are
all implemented in fpGUI itself. The benefit of this design is that you
are in full control of everything, have real single source across
multiple systems, and fpGUI is very easy to port to new OSes.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


More information about the Lazarus mailing list