Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24776 > unrolled thread

WxSlider Mouse Wheel Resolution

Started byWanderer <wanderer@dialup4less.com>
First post2012-07-02 08:45 -0700
Last post2012-07-03 05:49 -0700
Articles 6 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  WxSlider Mouse Wheel Resolution Wanderer <wanderer@dialup4less.com> - 2012-07-02 08:45 -0700
    Re: WxSlider Mouse Wheel Resolution Rick Johnson <rantingrickjohnson@gmail.com> - 2012-07-02 13:45 -0700
      Re: WxSlider Mouse Wheel Resolution Rick Johnson <rantingrickjohnson@gmail.com> - 2012-07-02 13:57 -0700
    Re: WxSlider Mouse Wheel Resolution Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-07-02 18:53 -0400
      Re: WxSlider Mouse Wheel Resolution Wanderer <wanderer@dialup4less.com> - 2012-07-03 05:49 -0700
      Re: WxSlider Mouse Wheel Resolution Wanderer <wanderer@dialup4less.com> - 2012-07-03 05:49 -0700

#24776 — WxSlider Mouse Wheel Resolution

FromWanderer <wanderer@dialup4less.com>
Date2012-07-02 08:45 -0700
SubjectWxSlider Mouse Wheel Resolution
Message-ID<da2e2fc4-9beb-42ea-850a-b1bf1b3025c2@oe8g2000pbb.googlegroups.com>
Is there a way to set the mouse wheel resolution for the wxPython
wx.Slider? I would like to use the graphic slider for coarse control
and the mouse wheel for fine control. Right now the mouse wheel makes
the slider jump ten counts and I would like it to be a single count.

Thanks

[toc] | [next] | [standalone]


#24789

FromRick Johnson <rantingrickjohnson@gmail.com>
Date2012-07-02 13:45 -0700
Message-ID<4f92b566-101b-4b40-aa2e-6eb72147c751@v15g2000yqi.googlegroups.com>
In reply to#24776
On Jul 2, 10:45 am, Wanderer <wande...@dialup4less.com> wrote:
> Is there a way to set the mouse wheel resolution for the wxPython
> wx.Slider? I would like to use the graphic slider for coarse control
> and the mouse wheel for fine control. Right now the mouse wheel makes
> the slider jump ten counts and I would like it to be a single count.
>
> Thanks

I have always found GUI mouse wheel events (and others) to be lacking
in the "user tuned control" category. NOTE: Instead of forcing your
lib users to configure specifics or re-bind events like(course,
medium, fine) simply pre-bind the following events and empower the end
user:

  MouseWheel -> cb(MEDIUM)
  MouseWheel+ControlKey -> cb(FINE)
  MouseWheel+ShiftKey -> cb(COURSE)

What a novel FREAKING idea!

*school-bell-rings*

[toc] | [prev] | [next] | [standalone]


#24790

FromRick Johnson <rantingrickjohnson@gmail.com>
Date2012-07-02 13:57 -0700
Message-ID<962ecb53-6fbd-476e-a537-af2ebf3e415d@n32g2000yqd.googlegroups.com>
In reply to#24789
On Jul 2, 3:45 pm, Rick Johnson <rantingrickjohn...@gmail.com> wrote:
> [...]
>   MouseWheel -> cb(MEDIUM)
>   MouseWheel+ControlKey -> cb(FINE)
>   MouseWheel+ShiftKey -> cb(COURSE)

Of course some could even argue that three levels of control are not
good enough; for which i wholeheartedly agree!

A REAL pro would provide a configurable method to the user for which a
slider (or numerical range) would pop up to micro-adjust the
increment. However! I think all widgets should expose every
configurable option to the end user. All configure options would be
available by default and the developer can restrict ANY configure
option(s) which would have disastrous side-effects for that particular
GUI.

[toc] | [prev] | [next] | [standalone]


#24792

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2012-07-02 18:53 -0400
Message-ID<mailman.1721.1341269626.4697.python-list@python.org>
In reply to#24776
On Mon, 2 Jul 2012 08:45:49 -0700 (PDT), Wanderer
<wanderer@dialup4less.com> declaimed the following in
gmane.comp.python.general:

> Is there a way to set the mouse wheel resolution for the wxPython
> wx.Slider? I would like to use the graphic slider for coarse control
> and the mouse wheel for fine control. Right now the mouse wheel makes
> the slider jump ten counts and I would like it to be a single count.
>
	Isn't that a condition of the OS Mouse driver?

	My LogiTech driver (WinXP) has "scroller: 1, 3, 6 lines"

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#24816

FromWanderer <wanderer@dialup4less.com>
Date2012-07-03 05:49 -0700
Message-ID<929f56e9-9de5-48c3-8678-5efe76d8d84f@googlegroups.com>
In reply to#24792
On Monday, July 2, 2012 6:53:36 PM UTC-4, Dennis Lee Bieber wrote:
> On Mon, 2 Jul 2012 08:45:49 -0700 (PDT), Wanderer
> <wanderer@dialup4less.com> declaimed the following in
> gmane.comp.python.general:
> 
> > Is there a way to set the mouse wheel resolution for the wxPython
> > wx.Slider? I would like to use the graphic slider for coarse control
> > and the mouse wheel for fine control. Right now the mouse wheel makes
> > the slider jump ten counts and I would like it to be a single count.
> >
> 	Isn't that a condition of the OS Mouse driver?
> 
> 	My LogiTech driver (WinXP) has "scroller: 1, 3, 6 lines"
> 
> -- 
> 	Wulfraed                 Dennis Lee Bieber         AF6VN
>         wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Maybe there are some system settings but I believe they can be overridden by the application. Check out the Firefox options for the mouse wheel.

http://www.pcworld.com/article/163639/change_the_speed_of_mousewheel_scrolling_in_firefox.html

[toc] | [prev] | [next] | [standalone]


#24817

FromWanderer <wanderer@dialup4less.com>
Date2012-07-03 05:49 -0700
Message-ID<mailman.1740.1341319778.4697.python-list@python.org>
In reply to#24792
On Monday, July 2, 2012 6:53:36 PM UTC-4, Dennis Lee Bieber wrote:
> On Mon, 2 Jul 2012 08:45:49 -0700 (PDT), Wanderer
> <wanderer@dialup4less.com> declaimed the following in
> gmane.comp.python.general:
> 
> > Is there a way to set the mouse wheel resolution for the wxPython
> > wx.Slider? I would like to use the graphic slider for coarse control
> > and the mouse wheel for fine control. Right now the mouse wheel makes
> > the slider jump ten counts and I would like it to be a single count.
> >
> 	Isn't that a condition of the OS Mouse driver?
> 
> 	My LogiTech driver (WinXP) has "scroller: 1, 3, 6 lines"
> 
> -- 
> 	Wulfraed                 Dennis Lee Bieber         AF6VN
>         wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Maybe there are some system settings but I believe they can be overridden by the application. Check out the Firefox options for the mouse wheel.

http://www.pcworld.com/article/163639/change_the_speed_of_mousewheel_scrolling_in_firefox.html

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web