Trait LevelBarExt

Source
pub trait LevelBarExt: 'static {
Show 19 methods // Required methods fn add_offset_value(&self, name: &str, value: f64); fn get_inverted(&self) -> bool; fn get_max_value(&self) -> f64; fn get_min_value(&self) -> f64; fn get_mode(&self) -> LevelBarMode; fn get_offset_value(&self, name: Option<&str>) -> Option<f64>; fn get_value(&self) -> f64; fn remove_offset_value(&self, name: Option<&str>); fn set_inverted(&self, inverted: bool); fn set_max_value(&self, value: f64); fn set_min_value(&self, value: f64); fn set_mode(&self, mode: LevelBarMode); fn set_value(&self, value: f64); fn connect_offset_changed<F: Fn(&Self, &str) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_inverted_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_max_value_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_min_value_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_mode_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_value_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn add_offset_value(&self, name: &str, value: f64)

Source

fn get_inverted(&self) -> bool

Source

fn get_max_value(&self) -> f64

Source

fn get_min_value(&self) -> f64

Source

fn get_mode(&self) -> LevelBarMode

Source

fn get_offset_value(&self, name: Option<&str>) -> Option<f64>

Source

fn get_value(&self) -> f64

Source

fn remove_offset_value(&self, name: Option<&str>)

Source

fn set_inverted(&self, inverted: bool)

Source

fn set_max_value(&self, value: f64)

Source

fn set_min_value(&self, value: f64)

Source

fn set_mode(&self, mode: LevelBarMode)

Source

fn set_value(&self, value: f64)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

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§