Sounds like Jason has a good solution for you eventually.  There are
some cruder ways to work around this in the meantime:

1) Customize the values in the slider so they are all "nice".
2) Have a coarse- and fine-tuning slider.  The final value used could
be the coarse+fine value.  The default fine value would be 0, and the
course values would be rounded, e.g. [10^i for i in range(6)].
3) You could have an input box with an unused default value, perhaps
the empty string.  If this value was changed to something else, it
would over-ride the slider value.

-Marshall Hampton

On Jan 26, 1:54 pm, Socius <ant...@gmail.com> wrote:
> Hi all.
> I am experiment with the @interact command and relative controls. I
> would like to know if the Slider control provides some way to
> constrain precise movements. For example if I have a slider with a
> range 0-10^5, it would be nice to be able to constrain the cursor
> movement, so to easily obtain round values (10, 100 and so on). In
> many programs that use sliders some special keys (usually Shift or
> Ctrl) perform this task. Or is it possible to directly input a value
> in a slider?
> I still did not find such possibility in Sage, do you have any
> advice?
>
> Thanks.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to