pub trait ParamButtonExt {
    // Required methods
    fn disable_scroll_wheel(self) -> Self;
    fn for_bypass(self) -> Self;
    fn with_label(self, value: impl Into<String>) -> Self;
}
Expand description

Extension methods for ParamButton handles.

Required Methods§

source

fn disable_scroll_wheel(self) -> Self

Don’t respond to scroll wheel events. Useful when this button is used as part of a scrolling view.

source

fn for_bypass(self) -> Self

Change the colors scheme for a bypass button. This simply adds the bypass class.

source

fn with_label(self, value: impl Into<String>) -> Self

Change the label used for the button. If this is not set, then the parameter’s name will be used.

Implementations on Foreign Types§

source§

impl ParamButtonExt for Handle<'_, ParamButton>

source§

fn disable_scroll_wheel(self) -> Self

source§

fn for_bypass(self) -> Self

source§

fn with_label(self, value: impl Into<String>) -> Self

Implementors§