Struct ux::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]

Trait Implementations

impl AsRef<Adjustment> for Adjustment[src]

impl Clone for Adjustment[src]

impl Debug for Adjustment[src]

impl Default for Adjustment[src]

impl Display for Adjustment[src]

impl Is<Adjustment> for Adjustment[src]

impl Object for Adjustment[src]

Auto Trait Implementations

Blanket Implementations

impl<O> AdjustmentExt for O where
    O: Is<Adjustment>, 
[src]

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]

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.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Construction<T> for T where
    T: Default + Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,