Talk:Proposal of a Widget Set independent Event Queue implementation

From Lazarus wiki
Revision as of 00:38, 14 January 2011 by Vincent (talk | contribs) (New page: == Purpose of nogui == It would be best to refactor the current code, so that there is no need for a nogui widget set anymore. The nogui widget set sole purpose is to be able to use some c...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Purpose of nogui

It would be best to refactor the current code, so that there is no need for a nogui widget set anymore. The nogui widget set sole purpose is to be able to use some constants from the forms unit (mrOk for example) and to include the forms unit into a console application without linking errors. The goal is to make nogui obsolete as soon as possible. Vincent 23:38, 13 January 2011 (CET)

Event Queue in the LCL

AFAIK, all event queues in the LCL are provided by the widget set. The LCL does not have own event loops, but only hooks into the widget set's event loop. If there were a pascal based event loop, it would not belong in the LCL, but in a TCustomApplication descendant in the FCL or in a third party component library (FPGUI?). The LCL.TApplication would probably not descend from TCustomApplication descendant, because it does not need a pascal based event loop.

Title of page misleading

Given the reason of the above paragraph, the article title is misleading. It suggest that the Event Queue in Lazarus LCL will be improved. This is not the case or even desirable. A better title would be A proposal of a Event Queue implementation in Pascal.