PBasicInputEventHandler is the standard class in Piccolo that is used to register for mouse and keyboard events on a PNode.
For a list of all members of this type, see PBasicInputEventHandler Members.
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
There are a couple of ways to use this event handler class. You can extend PBasicInputEventHandler and override the OnEvent methods or you can instantiate a PBasicInputEventHandler and attach a handler method to one of the event delegates.
Note: you can also attach an event handler method directly to an event on a node, but you will lose the ability to implement a filter or add other state to your event handler. See the events in
PNode for more details.
Assembly: UMD.HCIL.Piccolo (in UMD.HCIL.Piccolo.dll)