[Lazarus] What are "widgets" in lazarus?
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Wed Jan 5 12:38:04 CET 2011
Michael Schnell wrote:
> 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.
Thanks for the extra detail re. timers etc. So the bottom line is that
Bo's Delphi code is currently using the only widget set that the VCL
supports, i.e. Windows, and he's probably going to have to move onto
something like gtk v2; clearly this means that gtk etc. does have to
work on whatever ARM-based board he's chosen.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list