[Lazarus] What are "widgets" in lazarus?
Michael Schnell
mschnell at lumino.de
Wed Jan 5 11:06:30 CET 2011
On 01/05/2011 09:44 AM, Mark Morgan Lloyd wrote:
>
> It's not so much "widgets" as "widget set", and it refers to whether
> the intermediate layer between your program is based on Windows, Qt,
> GTK (1 or 2) etc.
"Widget Set" is the more common term, but in Lazarus it's (mostly, e.g.
Project -> Options -> Compiler Options) "Widget Type".
While a "Widget Set" usually is a collection of layout (and
functionality) instructions for commonly used GUI control elements, in
Lazarus it is more than this, definig a large part of the OS API a
project is supposed to use, and even is important for projects that
don't use a GUI at all. E.g. the function of TTimer and inter Thread
Messaging is defined in the code for the Widget Set used with the
project. Unfortunately this results in some widgets sets that don't
allow for using TTimer and inter Thread Messaging.
-Michael
More information about the Lazarus
mailing list