Trait nih_plug_vizia::widgets::ParamSliderExt
source · pub trait ParamSliderExt {
// Required methods
fn disable_scroll_wheel(self) -> Self;
fn set_style(self, style: ParamSliderStyle) -> Self;
fn with_label(self, value: impl Into<String>) -> Self;
}
Expand description
Extension methods for ParamSlider
handles.
Required Methods§
sourcefn disable_scroll_wheel(self) -> Self
fn disable_scroll_wheel(self) -> Self
Don’t respond to scroll wheel events. Useful when this slider is used as part of a scrolling view.
sourcefn set_style(self, style: ParamSliderStyle) -> Self
fn set_style(self, style: ParamSliderStyle) -> Self
Change how the ParamSlider
visualizes the current value.
sourcefn with_label(self, value: impl Into<String>) -> Self
fn with_label(self, value: impl Into<String>) -> Self
Manually set a fixed label for the slider instead of displaying the current value. This is currently not reactive.