gtk4::subclass::range

Trait RangeImpl

Source
pub trait RangeImpl: WidgetImpl + ObjectSubclass<Type: IsA<Range> + IsA<Orientable>> {
    // Provided methods
    fn adjust_bounds(&self, new_value: f64) { ... }
    fn change_value(
        &self,
        scroll_type: ScrollType,
        new_value: f64,
    ) -> Propagation { ... }
    fn range_border(&self) -> Border { ... }
    fn move_slider(&self, scroll_type: ScrollType) { ... }
    fn value_changed(&self) { ... }
}

Provided Methods§

Source

fn adjust_bounds(&self, new_value: f64)

Source

fn change_value(&self, scroll_type: ScrollType, new_value: f64) -> Propagation

Source

fn range_border(&self) -> Border

Source

fn move_slider(&self, scroll_type: ScrollType)

Source

fn value_changed(&self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§