Trait components::AdjustmentExt[][src]

pub trait AdjustmentExt: 'static {
Show methods fn get_clamp_value(&self) -> bool;
fn get_elastic(&self) -> bool;
fn get_lower(&self) -> f64;
fn get_page_increment(&self) -> f64;
fn get_page_size(&self) -> f64;
fn get_step_increment(&self) -> f64;
fn get_upper(&self) -> f64;
fn get_value(&self) -> f64;
fn get_values(&self) -> (f64, f64, f64, f64, f64, f64);
fn interpolate(&self, value: f64, duration: u32, mode: u64);
fn interpolate_relative(&self, offset: f64, duration: u32, mode: u64);
fn set_clamp_value(&self, clamp: bool);
fn set_elastic(&self, elastic: bool);
fn set_lower(&self, lower: f64);
fn set_page_increment(&self, increment: f64);
fn set_page_size(&self, page_size: f64);
fn set_step_increment(&self, increment: f64);
fn set_upper(&self, upper: f64);
fn set_value(&self, value: f64);
fn set_values(
        &self,
        value: f64,
        lower: f64,
        upper: f64,
        step_increment: f64,
        page_increment: f64,
        page_size: f64
    );
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_changed_immediate<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_interpolation_completed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_clamp_value_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_elastic_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_lower_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_page_increment_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_page_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_step_increment_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_upper_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_value_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required methods

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.

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.

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.

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.

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.

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.

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.

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

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.

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.

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.

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.

fn set_elastic(&self, elastic: bool)[src]

set_elastic: @adjustment: A #Adjustment @elastic: A #gboolean

Set the value of the #Adjustment:elastic property.

fn set_lower(&self, lower: f64)[src]

set_lower: @adjustment: A #Adjustment @lower: A #gdouble

Set the value of the #Adjustment:lower property.

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.

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.

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.

fn set_upper(&self, upper: f64)[src]

set_upper: @adjustment: A #Adjustment @upper: A #gdouble

Set the value of the #Adjustment:upper property.

fn set_value(&self, value: f64)[src]

set_value: @adjustment: An #Adjustment @value: A #gdouble

Set the value of the #Adjustment:value property.

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.

fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_changed_immediate<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_interpolation_completed<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_clamp_value_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_elastic_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_lower_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_page_increment_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_page_size_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_step_increment_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_upper_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

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

Loading content...

Implementors

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

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.

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.

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.

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.

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.

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.

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.

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

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.

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.

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.

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.

fn set_elastic(&self, elastic: bool)[src]

set_elastic: @adjustment: A #Adjustment @elastic: A #gboolean

Set the value of the #Adjustment:elastic property.

fn set_lower(&self, lower: f64)[src]

set_lower: @adjustment: A #Adjustment @lower: A #gdouble

Set the value of the #Adjustment:lower property.

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.

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.

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.

fn set_upper(&self, upper: f64)[src]

set_upper: @adjustment: A #Adjustment @upper: A #gdouble

Set the value of the #Adjustment:upper property.

fn set_value(&self, value: f64)[src]

set_value: @adjustment: An #Adjustment @value: A #gdouble

Set the value of the #Adjustment:value property.

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.

Loading content...