Struct ux::native::Adjustment [−][src]
pub struct Adjustment { /* fields omitted */ }
Implementations
impl Adjustment
[src]
pub fn new() -> Adjustment
[src]
pub fn with_values(
value: f64,
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64
) -> Adjustment
[src]
value: f64,
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64
) -> Adjustment
Trait Implementations
impl AsRef<Adjustment> for Adjustment
[src]
pub fn as_ref(&self) -> &Adjustment
[src]
impl Clone for Adjustment
[src]
pub fn clone(&self) -> Adjustment
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Adjustment
[src]
impl Default for Adjustment
[src]
pub fn default() -> Adjustment
[src]
impl Display for Adjustment
[src]
impl Is<Adjustment> for Adjustment
[src]
impl Object for Adjustment
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Adjustment
impl !Send for Adjustment
impl !Sync for Adjustment
impl Unpin for Adjustment
impl UnwindSafe for Adjustment
Blanket Implementations
impl<O> AdjustmentExt for O where
O: Is<Adjustment>,
[src]
O: Is<Adjustment>,
pub fn get_clamp_value(&self) -> bool
[src]
get_clamp_value: @adjustment: A #Adjustment
Get the value of the #Adjustment:clamp-value property.
Returns: the current value of the “clamp-value” property.
pub fn get_elastic(&self) -> bool
[src]
get_elastic: @adjustment: A #Adjustment
Get the value of the #Adjustment:elastic property.
Returns: the current value of the “elastic” property.
pub fn get_lower(&self) -> f64
[src]
get_lower: @adjustment: A #Adjustment
Get the value of the #Adjustment:lower property.
Returns: the current value of the “lower” property.
pub fn get_page_increment(&self) -> f64
[src]
get_page_increment: @adjustment: A #Adjustment
Get the value of the Adjustment:page-increment property.
Returns: the current value of the “page-increment” property.
pub fn get_page_size(&self) -> f64
[src]
get_page_size: @adjustment: A #Adjustment
Get the value of the #Adjustment:page-size property.
Returns: the current value of the “page-size” property.
pub fn get_step_increment(&self) -> f64
[src]
get_step_increment: @adjustment: A #Adjustment
Get the value of the Adjustment:step-increment property.
Returns: the current value of the “step-increment” property.
pub fn get_upper(&self) -> f64
[src]
get_upper: @adjustment: A #Adjustment
Get the value of the #Adjustment:upper property.
Returns: the current value of the “upper” property.
pub fn get_value(&self) -> f64
[src]
get_value: @adjustment: An #Adjustment
Get the current value of the #Adjustment:value property
Returns: the current value of the “value” property
pub fn get_values(&self) -> (f64, f64, f64, f64, f64, f64)
[src]
get_values: @adjustment: A #Adjustment @value: (out) (allow-none): A #gdouble @lower: (out) (allow-none): A #gdouble @upper: (out) (allow-none): A #gdouble @step_increment: (out) (allow-none): A #gdouble @page_increment: (out) (allow-none): A #gdouble @page_size: (out) (allow-none): A #gdouble
Get the various properties of Adjustment.
pub fn interpolate(&self, value: f64, duration: u32, mode: u64)
[src]
interpolate: @adjustment: A #Adjustment @value: A #gdouble @duration: duration in milliseconds @mode: A #AnimationMode
Interpolate #Adjustment:value to the new value specified by @value, using the mode and duration given.
pub fn interpolate_relative(&self, offset: f64, duration: u32, mode: u64)
[src]
interpolate_relative: @adjustment: A #Adjustment @offset: A #gdouble @duration: duration in milliseconds @mode: A #AnimationMode
Interpolate the value of #Adjustment:value to a new value calculated from @offset.
pub fn set_clamp_value(&self, clamp: bool)
[src]
set_clamp_value: @adjustment: A #Adjustment @clamp: a #gboolean
Set the value of the #Adjustment:clamp-value property.
pub fn set_elastic(&self, elastic: bool)
[src]
set_elastic: @adjustment: A #Adjustment @elastic: A #gboolean
Set the value of the #Adjustment:elastic property.
pub fn set_lower(&self, lower: f64)
[src]
set_lower: @adjustment: A #Adjustment @lower: A #gdouble
Set the value of the #Adjustment:lower property.
pub fn set_page_increment(&self, increment: f64)
[src]
set_page_increment: @adjustment: A #Adjustment @increment: A #gdouble
Set the value of the #Adjustment:page-increment property.
pub fn set_page_size(&self, page_size: f64)
[src]
set_page_size: @adjustment: A #Adjustment @page_size: A #gdouble
Set the #Adjustment:page-size property.
pub fn set_step_increment(&self, increment: f64)
[src]
set_step_increment: @adjustment: A #Adjustment @increment: A #gdouble
Set the value of the #Adjustment:step-increment property.
pub fn set_upper(&self, upper: f64)
[src]
set_upper: @adjustment: A #Adjustment @upper: A #gdouble
Set the value of the #Adjustment:upper property.
pub fn set_value(&self, value: f64)
[src]
set_value: @adjustment: An #Adjustment @value: A #gdouble
Set the value of the #Adjustment:value property.
pub fn set_values(
&self,
value: f64,
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64
)
[src]
&self,
value: f64,
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64
)
set_values: @adjustment: A #Adjustment @value: A #gdouble @lower: A #gdouble @upper: A #gdouble @step_increment: A #gdouble @page_increment: A #gdouble @page_size: A #gdouble
Set the various properties of Adjustment.
pub fn connect_changed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_changed_immediate<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_interpolation_completed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_clamp_value_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_elastic_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_lower_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_page_increment_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_page_size_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_step_increment_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_upper_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_value_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,