Trait libhelium::prelude::SliderExt

source ·
pub trait SliderExt: IsA<Slider> + Sealed + 'static {
    // Provided methods
    fn add_mark(&self, value: f64, text: Option<&str>) { ... }
    fn left_icon(&self) -> GString { ... }
    fn set_left_icon(&self, value: &str) { ... }
    fn right_icon(&self) -> GString { ... }
    fn set_right_icon(&self, value: &str) { ... }
    fn is_stop_indicator_visibility(&self) -> bool { ... }
    fn set_stop_indicator_visibility(&self, value: bool) { ... }
    fn connect_left_icon_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_right_icon_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_stop_indicator_visibility_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all Slider methods.

§Implementors

Slider

Provided Methods§

source

fn add_mark(&self, value: f64, text: Option<&str>)

Adds a mark with some information along the trough of the Slider.

source

fn left_icon(&self) -> GString

source

fn set_left_icon(&self, value: &str)

source

fn right_icon(&self) -> GString

source

fn set_right_icon(&self, value: &str)

source

fn is_stop_indicator_visibility(&self) -> bool

source

fn set_stop_indicator_visibility(&self, value: bool)

source

fn connect_left_icon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_right_icon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_stop_indicator_visibility_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Slider>> SliderExt for O