[mcclim-devel] :pointer-button (:left :shift) bug?
Andy Hefner
ahefner at gmail.com
Wed Jan 3 21:53:03 UTC 2007
It is probably being stolen by the method that handles select/paste,
which is invoked via the shift modifier. This behavior is provided by
cut-and-paste-mixin, a superclass of clim-stream-pane, which is in
turn a superclass of interactor and application panes.
The code responsible is the three dispatch-event methods in
text-selection.lisp. If I'm right, replacing the bodies of these with
(call-next-method) should cause the method to pass through to the
usual gesture handling.
Ideally you could define your own pane class which excluded the
cut-and-paste-mixin (or other nonstandard but typically desirable
behaviors, such as mouse-wheel-scroll-mixin), but at present the class
hierarchy doesn't allow it. I guess we should push these mixins down
into interactor-pane and application-pane, or some new intermediate
point between these and clim-stream-pane. If it's a problem for your
application, arrangements can be made.
On 1/3/07, Kilian Sprotte <kilian.sprotte at googlemail.com> wrote:
> Hi,
>
> am playing around with various pointer gestures. While everything seems to
> work :), I dont get :pointer-button (:left :shift) to do any action...
More information about the mcclim-devel
mailing list