Trait gtk::prelude::SpinButtonExt
[−]
[src]
pub trait SpinButtonExt { fn configure<'a, P: Into<Option<&'a Adjustment>>>(
&self,
adjustment: 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(&self, adjustment: &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 get_property_climb_rate(&self) -> f64; fn set_property_climb_rate(&self, climb_rate: f64); }
Required Methods
fn configure<'a, P: Into<Option<&'a Adjustment>>>(
&self,
adjustment: P,
climb_rate: f64,
digits: u32
)
&self,
adjustment: 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(&self, adjustment: &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 get_property_climb_rate(&self) -> f64
fn set_property_climb_rate(&self, climb_rate: f64)
Implementors
impl<O: IsA<SpinButton> + IsA<Object>> SpinButtonExt for O