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
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
