On Tue, January 17, 2017 2:22 am, Graeme Geldenhuys via Lazarus wrote:
> On 2017-01-16 20:18, Lars via Lazarus wrote:
>
>> GUI's require wrappers.
>>
>
> No they don't.
>

Sane GUI programming requires wrappers...

Insane programmers will program a GUI without a wrapper...
;-)


>
>> 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.

fpGUI is, in every way possible, a wrapper.

It wrapps low level x11/win32 calls into a usable frameworks called fpGUI

Object orientation is often a wrapper around system calls, fpGUI is object
oriented and makes low level calls so someone can use fpGUI as a wrapper
around these obnoxious insane low level calls that no one wants to use
directly.
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to