pub fn new(orientation: Orientation, max_value: usize) -> Self {
        SliderView {
            orientation: orientation,
            value: 0,
            max_value: max_value,
            on_change: None,
            on_enter: None,
            dragging: false,
        }
    }
/// Creates a new `SliderView` in the given orientation.
///
/// The view will have a fixed length of `max_value`,
/// with one tick per block.
Creates a new `SliderView` in the given orientation.
The view will have a fixed length of `max_value`,
with one tick per block.
Creates a new ` SliderView ` in the given orientation . The view will have a fixed length of ` max_value ` with one tick per block .
pub fn new(orientation: Orientation, max_value: usize) -> Self {
        SliderView {
            orientation: orientation,
            value: 0,
            max_value: max_value,
            on_change: None,
            on_enter: None,
            dragging: false,
        }
    }
pub fn new ( orientation : Orientation , max_value : usize ) -> Self { SliderView { orientation : orientation , value : 0 , max_value : max_value , on_change : None , on_enter : None , dragging : false , } }
Creates a new `SliderView` in the given orientation.
Creates a new ` SliderView ` in the given orientation .
orientation
Orientation
max_value
usize
orientation
Orientation
max_value
usize