The fact that Event and its subclasses (`MouseEventet al) are not exported makes the event API rather difficult to understand from looking at the documentation, as there is no indication (other than common sense) thatMouseEventis actually an instance ofMouseEvent_`. The naming convention doesn't help either.
I would propose that the classes are renamed HasEvent, HasMouseEvent etc, and that the classes are exported to allow Haddock to generate links to them (the actual methods should still be hidden for encapsulation purposes).
The fact that Event and its subclasses (`MouseEvent
et al) are not exported makes the event API rather difficult to understand from looking at the documentation, as there is no indication (other than common sense) that
MouseEventis actually an instance of
MouseEvent_`. The naming convention doesn't help either.I would propose that the classes are renamed HasEvent, HasMouseEvent etc, and that the classes are exported to allow Haddock to generate links to them (the actual methods should still be hidden for encapsulation purposes).