[Lazarus] What is the future of NoGUI widget set?

Marco van de Voort marcov at stack.nl
Thu Jan 27 14:48:25 CET 2011


On Thu, Jan 27, 2011 at 09:48:54AM +0100, Sven Barth wrote:
> > this functionality), and by that re-implementing multiple
> > functionalities that already as implemented (several times) in other
> > Widget sets.
> 
> Wouldn't a clean "nogui" implementation allow to use this message loop 
> stuff for other widgetsets as well? Instead of refactoring the other (in 
> use) widgetsets first, start with a nearly unused widgetset and then 
> refactor the other ones if that one works.

I think this is a windows artefact, where Delphi "abuses" that widgetset and
e.g. service api use the same message system, and thus compatible
messageloops.

On a non Windows system, the implementation of nogui depends on what you
want to use in whatever you build on top of it, since there is no one
universal api. E.g. DBus vs trying to emulate Windows messages with
pthreads. The same for ORB, XPCOM and al other message passing variants.





More information about the Lazarus mailing list