Trait AdjustmentExt

Source
pub trait AdjustmentExt: 'static {
Show 25 methods // Required methods fn changed(&self); fn clamp_page(&self, lower: f64, upper: f64); fn configure( &self, value: f64, lower: f64, upper: f64, step_increment: f64, page_increment: f64, page_size: f64, ); fn get_lower(&self) -> f64; fn get_minimum_increment(&self) -> f64; fn get_page_increment(&self) -> f64; fn get_page_size(&self) -> f64; fn get_step_increment(&self) -> f64; fn get_upper(&self) -> f64; fn get_value(&self) -> f64; fn set_lower(&self, lower: f64); fn set_page_increment(&self, page_increment: f64); fn set_page_size(&self, page_size: f64); fn set_step_increment(&self, step_increment: f64); fn set_upper(&self, upper: f64); fn set_value(&self, value: f64); fn value_changed(&self); fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_value_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_lower_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_page_increment_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_page_size_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_step_increment_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_upper_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 changed(&self)

👎Deprecated
Source

fn clamp_page(&self, lower: f64, upper: f64)

Source

fn configure( &self, value: f64, lower: f64, upper: f64, step_increment: f64, page_increment: f64, page_size: f64, )

Source

fn get_lower(&self) -> f64

Source

fn get_minimum_increment(&self) -> f64

Source

fn get_page_increment(&self) -> f64

Source

fn get_page_size(&self) -> f64

Source

fn get_step_increment(&self) -> f64

Source

fn get_upper(&self) -> f64

Source

fn get_value(&self) -> f64

Source

fn set_lower(&self, lower: f64)

Source

fn set_page_increment(&self, page_increment: f64)

Source

fn set_page_size(&self, page_size: f64)

Source

fn set_step_increment(&self, step_increment: f64)

Source

fn set_upper(&self, upper: f64)

Source

fn set_value(&self, value: f64)

Source

fn value_changed(&self)

👎Deprecated
Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn connect_property_upper_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§