[Lazarus] What are "widgets" in lazarus?

Michael Schnell mschnell at lumino.de
Tue Jan 11 10:09:06 CET 2011


Raving on...

IMHO, in a perfect world the API between the GUI-generating part of the 
said "Object Pascal" layer (bad name ;-) ) and the Widget Set depending 
part of the "Widget Type" code, would be a just bi-directional stream of 
propriety codes (see Martin's "ifi" project). This would make remoting 
the GUI very easy and would allow for doing the Widget Set depending 
code in a different language (e.g. in Java to do the GUI in a browser or 
for Android) or in CIL-Pascal (Delphi-Prism) to reuse some of the 
Lazarus code doing the GUI in a browser via Silverlight/Moonlight).

Maybe this might cost some performance (but OTOH, the transaction count 
on this interface is not that high), but I feel it's worth considering 
to make Lazarus a lot more usable for a wide range of applications.

-Michael




More information about the Lazarus mailing list