gesture docs?

Nisar Ahmad nisarahmad1324 at gmail.com
Sun Aug 5 18:04:19 UTC 2018



On 08/03/2018 11:03 PM, Orm Finnendahl wrote:
> Hi,
>
>   is there any documentation on pointer-gestures in mcclim?
>
> This doesn't seem to work:
>
> (define-gesture-name :multiple-select :pointer-button-press (:left :shift))
>
> whereas this works:
>
> (define-gesture-name :multiple-select :pointer-button-press (:left :control :shift))
This is a known issue
https://github.com/McCLIM/McCLIM/issues/427
> :wheel-up and :wheel-down seems to be bound to scrolling a
> (scrollable) pane using mouse-wheel-scroll-mixin and I don't know how
> to override this.
>
> This also doesn't seem to work:
>
> (define-gesture-name :up :pointer-scroll (:wheel-up :shift))
> (define-gesture-name :down :pointer-scroll (:wheel-down :control))
>
> I found out that all mouse and keypress events are received in
> #'process-next-event, so X actually transfers them to mcclim. Is the
> exact name of the gestures/modifiers somewhere documented (and also
> how to make them work?)
The closest thing is 
https://github.com/McCLIM/McCLIM/wiki/Default-Keyboard-and-Mouse-Gestures
You can also grep for "define-gesture" in McCLIM source to see how it is 
used.
>
> --
> Orm
>




More information about the mcclim-devel mailing list