Trait ux::AdjustmentExt [−][src]
pub trait AdjustmentExt: 'static {}Show methods
pub fn get_clamp_value(&self) -> bool; pub fn get_elastic(&self) -> bool; pub fn get_lower(&self) -> f64; pub fn get_page_increment(&self) -> f64; pub fn get_page_size(&self) -> f64; pub fn get_step_increment(&self) -> f64; pub fn get_upper(&self) -> f64; pub fn get_value(&self) -> f64; pub fn get_values(&self) -> (f64, f64, f64, f64, f64, f64); pub fn interpolate(&self, value: f64, duration: u32, mode: u64); pub fn interpolate_relative(&self, offset: f64, duration: u32, mode: u64); pub fn set_clamp_value(&self, clamp: bool); pub fn set_elastic(&self, elastic: bool); pub fn set_lower(&self, lower: f64); pub fn set_page_increment(&self, increment: f64); pub fn set_page_size(&self, page_size: f64); pub fn set_step_increment(&self, increment: f64); pub fn set_upper(&self, upper: f64); pub fn set_value(&self, value: f64); pub fn set_values(
&self,
value: f64,
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64
); pub fn connect_changed<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_changed_immediate<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_interpolation_completed<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_clamp_value_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_elastic_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_lower_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_page_increment_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_page_size_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_step_increment_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_upper_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_value_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self);
Required methods
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(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_changed_immediate<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_interpolation_completed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_clamp_value_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_elastic_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_lower_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_page_increment_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_page_size_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_step_increment_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_upper_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_value_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
Implementors
impl<O> AdjustmentExt for O where
O: Is<Adjustment>,
[src]
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]
&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),