[Lazarus] Suggestion: Remove GTK1 support from IDE and LCL.

Michael Schnell mschnell at lumino.de
Thu May 6 12:34:01 CEST 2010


On 05/06/2010 09:59 AM, dmitry boyarintsev wrote:
> Imho, it's better to split Gtk1 and Gtk2 sources completely. IIRC,
> gtk2 widgetset is still using some gtk1 units.
>   

If anybody gets into updating the GTK2 Widget Type sources, pleaaaaaaase
do split the GUI related code from the event queue related code (e.g. in
the forms* source file). Best move it into it's own not directly Widget
Type dedicated directory (same of course needs to be different for Linux
and for Windows, as with the Linux Widget Types the event queue is done
in LCL code while with the Windows Widget Types it's provided by OS
APIs, No idea about Mac....)

I suppose the stand alone event queue related code can be used both by
the GTK(2) and by the QT Widget types (and maybe Mac). Moreover this
would make creating a __functional__ (supporting TTimer and Thread
communication) GUI-less Widget Type (e.g. for (fast) CGI Applications
and embedded stuff much more straight-forward.

-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100506/4e9a895d/attachment-0004.html>


More information about the Lazarus mailing list