From: Mike on
I need a widget that I can have multiple sliders on a single trough.
And I don't want the sliders not to be able to pass its neighbor
slider, either up/down stream.

Anybody done anything like that ??
From: Jeff Hobbs on
On Feb 20, 4:26 pm, Mike <mocall...(a)gmail.com> wrote:
> I need  a widget that I can have multiple sliders on a single trough.
> And I don't want the sliders not to be able to pass its neighbor
> slider, either up/down stream.

You can simulate something like that with the canvas pretty easily.
I've seen something like that before, but I can't recall where off
hand.

Jeff
From: Donald Arseneau on
On Feb 20, 4:26 pm, Mike <mocall...(a)gmail.com> wrote:
> I need  a widget that I can have multiple sliders on a single trough.
> And I don't want the sliders not to be able to pass its neighbor
> slider, either up/down stream.

Since you are allowing the sliders to overlap, I think it
would be better to stack two scales side by side. They could
be put in frames so that they appear to share a single trough,
but in separate "lanes".

Donald Arseneau
From: Arjen Markus on
On 21 feb, 23:38, Jeff Hobbs <jeff.ho...(a)gmail.com> wrote:
> On Feb 20, 4:26 pm, Mike <mocall...(a)gmail.com> wrote:
>
> > I need  a widget that I can have multiple sliders on a single trough.
> > And I don't want the sliders not to be able to pass its neighbor
> > slider, either up/down stream.
>
> You can simulate something like that with the canvas pretty easily.
> I've seen something like that before, but I can't recall where off
> hand.
>
> Jeff

Wasn't that an example in Brent Welch's book? (I have not my copy
at hand, so can't check)

Regards,

Arjen
From: Donal K. Fellows on
On 22 Feb, 08:06, Donald Arseneau <a...(a)triumf.ca> wrote:
> Since you are allowing the sliders to overlap, I think it
> would be better to stack two scales side by side.  They could
> be put in frames so that they appear to share a single trough,
> but in separate "lanes".

It would also be possible to write a new Ttk widget that uses the
visual elements used in ttk::scale for drawing. That would look pretty
good on all platforms (but is quite a bit more work...)

Donal.