A method and apparatus for routing an event to a human interface object in
a computer system. A routing type is assigned to each event type which may
be received. The event is received and the routing type assigned to the
event is determined. The event is then routed based on the routing type.
In embodiments of the invention, the routing type may be geometric, focus,
or broadcast, but is extensible. The routing types may be added or removed
from a list of routing types, at request of processes.