• Re: Linux issues

    From saitology9@21:1/5 to Rich on Tue Oct 25 15:58:42 2022
    On 10/25/2022 3:57 PM, Rich wrote:

    man bind:

    in the "MouseWheel" section:

    ... On X11 vertical scrolling is rather supported through Button-4 and
    Button-5 events, and horizontal scrolling through Shift-Button-4
    and Shift-Button-5 events. ...



    Thank you very much!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From saitology9@21:1/5 to All on Tue Oct 25 15:52:22 2022
    Hello,

    I have a script that creates a canvas with scrollbars and and I have a <Shift-MouseWheel> binding for it. This seems to fire on Windows but
    does nothing on Linux. I am not sure if this has to do with the way the
    Linux box is set up or if there is a different way of accomplishing the
    same thing on Linux.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich@21:1/5 to saitology9@gmail.com on Tue Oct 25 19:57:10 2022
    saitology9 <saitology9@gmail.com> wrote:
    Hello,

    I have a script that creates a canvas with scrollbars and and I have a <Shift-MouseWheel> binding for it. This seems to fire on Windows but
    does nothing on Linux. I am not sure if this has to do with the way the Linux box is set up or if there is a different way of accomplishing the
    same thing on Linux.

    man bind:

    in the "MouseWheel" section:

    ... On X11 vertical scrolling is rather supported through Button-4 and
    Button-5 events, and horizontal scrolling through Shift-Button-4
    and Shift-Button-5 events. ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nemethi@21:1/5 to All on Wed Oct 26 11:15:02 2022
    Am 25.10.22 um 21:57 schrieb Rich:
    saitology9 <saitology9@gmail.com> wrote:
    Hello,

    I have a script that creates a canvas with scrollbars and and I have a
    <Shift-MouseWheel> binding for it. This seems to fire on Windows but
    does nothing on Linux. I am not sure if this has to do with the way the
    Linux box is set up or if there is a different way of accomplishing the
    same thing on Linux.

    man bind:

    in the "MouseWheel" section:

    ... On X11 vertical scrolling is rather supported through Button-4 and
    Button-5 events, and horizontal scrolling through Shift-Button-4
    and Shift-Button-5 events. ...


    This is valid for the Tk versions 8.4 - 8.6 and 8.7a1 - 8.7a3. In Tk
    versions 8.7a4 and later, the set of mouse wheel events is the same on
    all windowing systems. See also the description of the scrollutil::addMouseWheelSupport command of my Scrollutil package. One
    of the benefits of using this package is that it handles these technical details automatically, thus easing the development of Tk
    version-agnostic applications.

    --
    Csaba Nemethi https://www.nemethi.de mailto:csaba.nemethi@t-online.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From saitology9@21:1/5 to nemethi on Wed Oct 26 13:52:05 2022
    On 10/26/2022 5:15 AM, nemethi wrote:

    This is valid for the Tk versions 8.4 - 8.6 and 8.7a1 - 8.7a3.  In Tk versions 8.7a4 and later, the set of mouse wheel events is the same on
    all windowing systems.  See also the description of the scrollutil::addMouseWheelSupport command of my Scrollutil package.  One
    of the benefits of using this package is that it handles these technical details automatically, thus easing the development of Tk
    version-agnostic applications.


    Thanks for the heads-up and the detailed info. It looks like ScrollUtil
    is the way to go.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)