Struct gtk::SpinButton
[−]
pub struct SpinButton(_, _);
Methods
impl SpinButton
[src]
fn new<'a, P: Into<Option<&'a Adjustment>>>(
adjustment: P,
climb_rate: f64,
digits: u32
) -> SpinButton
adjustment: P,
climb_rate: f64,
digits: u32
) -> SpinButton
fn new_with_range(min: f64, max: f64, step: f64) -> SpinButton
Trait Implementations
impl Clone for SpinButton
fn clone(&self) -> SpinButton
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 SpinButton
impl Hash for SpinButton
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for SpinButton
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for SpinButton
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 !=
.
impl Eq for SpinButton
impl IsA<Entry> for SpinButton
impl IsA<Widget> for SpinButton
impl IsA<CellEditable> for SpinButton
impl IsA<Editable> for SpinButton
impl IsA<Orientable> for SpinButton
impl IsA<Object> for SpinButton
impl SpinButtonSignals for SpinButton
[src]
fn connect_change_value<F>(&self, change_value_func: F) -> u64 where
F: Fn(&SpinButton, ScrollType) + 'static,
F: Fn(&SpinButton, ScrollType) + 'static,
fn connect_input<F>(&self, f: F) -> u64 where
F: Fn(&SpinButton) -> Option<Result<f64, ()>> + 'static,
F: Fn(&SpinButton) -> Option<Result<f64, ()>> + 'static,
fn connect_output<F>(&self, output_func: F) -> u64 where
F: Fn(&SpinButton) -> Inhibit + 'static,
F: Fn(&SpinButton) -> Inhibit + 'static,
fn connect_value_changed<F>(&self, value_changed_func: F) -> u64 where
F: Fn(&SpinButton) + 'static,
F: Fn(&SpinButton) + 'static,
fn connect_wrapped<F>(&self, wrapped_func: F) -> u64 where
F: Fn(&SpinButton) + 'static,
F: Fn(&SpinButton) + 'static,