-
Notifications
You must be signed in to change notification settings - Fork 2
Events
komone edited this page Aug 13, 2010
·
13 revisions
The following table makes an interesting comparison.
Framework | Events |
---|---|
GS | 13 |
WX | 197 |
XRC | 0 |
HTML 4.0 | 17 |
HTML 5.0 | 37 |
MSIE 8.0 | 71 |
XUL/Firefox | 55 |
Given all the duplication and the fact that there can only be just so many events that are really necessary to cover all needs, it would seem that the “correct” number of events for GX would be around 40.
The documentation for XUI and Java make it real hard to figure out how many events there are built-in. They are also extensible – on the plus-side this means you can roll your own if they are not there – but on the minus side that means that it sacrifices consistency and makes the programmer have to think more than probably they need to. Maybe the answer to that is to provide a single “custom event” type that will at least make it obvious what’s what.