Trait SpinButtonExt

Source
pub trait SpinButtonExt: 'static {
Show 32 methods // Required methods fn configure<P: IsA<Adjustment>>( &self, adjustment: Option<&P>, climb_rate: f64, digits: u32, ); fn get_adjustment(&self) -> Adjustment; fn get_digits(&self) -> u32; fn get_increments(&self) -> (f64, f64); fn get_numeric(&self) -> bool; fn get_range(&self) -> (f64, f64); fn get_snap_to_ticks(&self) -> bool; fn get_update_policy(&self) -> SpinButtonUpdatePolicy; fn get_value(&self) -> f64; fn get_value_as_int(&self) -> i32; fn get_wrap(&self) -> bool; fn set_adjustment<P: IsA<Adjustment>>(&self, adjustment: &P); fn set_digits(&self, digits: u32); fn set_increments(&self, step: f64, page: f64); fn set_numeric(&self, numeric: bool); fn set_range(&self, min: f64, max: f64); fn set_snap_to_ticks(&self, snap_to_ticks: bool); fn set_update_policy(&self, policy: SpinButtonUpdatePolicy); fn set_value(&self, value: f64); fn set_wrap(&self, wrap: bool); fn spin(&self, direction: SpinType, increment: f64); fn update(&self); fn get_property_climb_rate(&self) -> f64; fn set_property_climb_rate(&self, climb_rate: f64); fn connect_property_adjustment_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_climb_rate_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_digits_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_numeric_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_snap_to_ticks_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_update_policy_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_value_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_wrap_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn configure<P: IsA<Adjustment>>( &self, adjustment: Option<&P>, climb_rate: f64, digits: u32, )

Source

fn get_adjustment(&self) -> Adjustment

Source

fn get_digits(&self) -> u32

Source

fn get_increments(&self) -> (f64, f64)

Source

fn get_numeric(&self) -> bool

Source

fn get_range(&self) -> (f64, f64)

Source

fn get_snap_to_ticks(&self) -> bool

Source

fn get_update_policy(&self) -> SpinButtonUpdatePolicy

Source

fn get_value(&self) -> f64

Source

fn get_value_as_int(&self) -> i32

Source

fn get_wrap(&self) -> bool

Source

fn set_adjustment<P: IsA<Adjustment>>(&self, adjustment: &P)

Source

fn set_digits(&self, digits: u32)

Source

fn set_increments(&self, step: f64, page: f64)

Source

fn set_numeric(&self, numeric: bool)

Source

fn set_range(&self, min: f64, max: f64)

Source

fn set_snap_to_ticks(&self, snap_to_ticks: bool)

Source

fn set_update_policy(&self, policy: SpinButtonUpdatePolicy)

Source

fn set_value(&self, value: f64)

Source

fn set_wrap(&self, wrap: bool)

Source

fn spin(&self, direction: SpinType, increment: f64)

Source

fn update(&self)

Source

fn get_property_climb_rate(&self) -> f64

Source

fn set_property_climb_rate(&self, climb_rate: f64)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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