pub trait SpinButtonExt: 'static {
Show 32 methods // Required methods fn configure( &self, adjustment: Option<&impl IsA<Adjustment>>, climb_rate: f64, digits: u32 ); fn adjustment(&self) -> Adjustment; fn digits(&self) -> u32; fn increments(&self) -> (f64, f64); fn is_numeric(&self) -> bool; fn range(&self) -> (f64, f64); fn snaps_to_ticks(&self) -> bool; fn update_policy(&self) -> SpinButtonUpdatePolicy; fn value(&self) -> f64; fn value_as_int(&self) -> i32; fn wraps(&self) -> bool; fn set_adjustment(&self, adjustment: &impl IsA<Adjustment>); 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 climb_rate(&self) -> f64; fn set_climb_rate(&self, climb_rate: f64); fn connect_adjustment_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_climb_rate_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_digits_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_numeric_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_snap_to_ticks_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_update_policy_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_value_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_wrap_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId;
}

Required Methods§

source

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

source

fn adjustment(&self) -> Adjustment

source

fn digits(&self) -> u32

source

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

source

fn is_numeric(&self) -> bool

source

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

source

fn snaps_to_ticks(&self) -> bool

source

fn update_policy(&self) -> SpinButtonUpdatePolicy

source

fn value(&self) -> f64

source

fn value_as_int(&self) -> i32

source

fn wraps(&self) -> bool

source

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

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 climb_rate(&self) -> f64

source

fn set_climb_rate(&self, climb_rate: f64)

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§