2012/8/21 Hans-Peter Diettrich <[email protected]>: > They *have* to use the platform protocols, so why should dragging files or > other objects run through an widgetset instead of using the API directly?
Because when using GTK2 for the GUI I usually do all GUI related things through GTK and not by accessing the native platform directly because thats the reason something like GTK exists in the first place. Or do you paint your windows and buttons with X11 libs when you have LCL and GTK2? > Didn't you complain about the complex structure of even simple controls in > gtk2? No I did not complain. I said "I am not a GTK2 expert". This was not a complaint. > Using the platform API doesn't require any widgetset specific code, no > need for adapations to new widgetsets. It would require platform specific code instead. How is this better? Its even worse because then with n different widgetsets being able to run on m different platforms I would have n*m possible combinations of two things that are messing around in the same realm (GUI) to step on each other's feet and go wrong. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
