[Lazarus] What are "widgets" in lazarus?

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Jan 10 13:21:10 CET 2011


Op 2011-01-10 13:57, Michael Schnell het geskryf:
> Yep, but the API between the no-Widget-Type depending LCL parts and the
> Widget set seems quite complex

Well that is all LCL internal design stuff and nothing related to fpGUI.
But yes, the LCL internals are rather daunting when you haven't worked
on it before. What is annoying though is the Windows-ism design in the
LCL. LCL works on many platforms, but it is clearly biased towards
Windows design. This is quite odd, seeing that Windows wasn't even the
first widgetset LCL supported (I believe it was GTK1 first).


> The form designer supposedly would need to use the "design mediator" API.

No, that is incorrect. If your application is LCL-fpGUI based (meaning
any one of the widgetsets included with LCL), the Lazarus form designer
works as-is, no matter which LCL widgetset you use.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list