[vtkusers] About MouseEvents.py example
David Gobbi
david.gobbi at gmail.com
Fri Jun 17 09:31:29 EDT 2016
On Fri, Jun 17, 2016 at 7:15 AM, Elvis Stansvik <
elvis.stansvik at orexplore.com> wrote:
>
> When you say "interaction bindings", do you mean like a pluggable event
> handler that you can set on your QWidget subclass, to handle your custom
> events?
>
widget.bind(eventDescriptor, observerMethod, modifierFlags)
where "eventDescriptor" describes the characteristics of the event to be
captured, "observerMethod" is the method that will receive the event, and
"modifierFlags" is for other details, e.g. whether to dispatch during the
capture phase or the bubble phase, whether this binding should override
existing bindings, etc.
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160617/6a346115/attachment.html>
More information about the vtkusers
mailing list