Re: step/page sizes on Gtk::Scale
- From: "Marco Scholten" <mscholtn xs4all nl>
- To: "Rob Benton" <rob benton conwaycorp net>
- Cc: gtkmm-list gnome org
- Subject: Re: step/page sizes on Gtk::Scale
- Date: Fri, 28 Jan 2005 10:03:38 +0100
I've got a Gtk::VScale widget that I'm setting min/max to 5,300 and
step/page sizes to 5,10. This works great for the arrow keys and page
up/down keys but moving with a mouse will still get all numbers in
between. Is there a way to make the mouse behave the same as the arrow
keys and page up/down keys?
I don't know if there a way to make the mouse behave the same as the arrow
keys and page up/down keys.
But in your case as a workaround you could do this:
set min/max to 1/60
set step/page sizes to 1,2
and multiply the value you get from the vscale by 5 before using it.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]