Struct gtk::Adjustment
[−]
pub struct Adjustment(_, _);
Methods
impl Adjustment
[src]
fn new(value: f64,
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64)
-> Adjustment
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64)
-> Adjustment
fn changed(&self)
fn clamp_page(&self, lower: f64, upper: f64)
fn configure(&self,
value: f64,
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64)
value: f64,
lower: f64,
upper: f64,
step_increment: f64,
page_increment: f64,
page_size: f64)
fn get_lower(&self) -> f64
fn get_minimum_increment(&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 set_lower(&self, lower: f64)
fn set_page_increment(&self, page_increment: f64)
fn set_page_size(&self, page_size: f64)
fn set_step_increment(&self, step_increment: f64)
fn set_upper(&self, upper: f64)
fn set_value(&self, value: f64)
fn value_changed(&self)
fn connect_changed<F: Fn(&Adjustment) + 'static>(&self, f: F) -> u64
fn connect_value_changed<F: Fn(&Adjustment) + 'static>(&self, f: F) -> u64
Trait Implementations
impl Clone for Adjustment
fn clone(&self) -> Adjustment
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Adjustment
impl Hash for Adjustment
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for Adjustment
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Adjustment
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.