Trait gtk::prelude::RangeExt
[−]
[src]
pub trait RangeExt { fn get_adjustment(&self) -> Adjustment; fn get_fill_level(&self) -> f64; fn get_flippable(&self) -> bool; fn get_inverted(&self) -> bool; fn get_lower_stepper_sensitivity(&self) -> SensitivityType; fn get_min_slider_size(&self) -> i32; fn get_range_rect(&self) -> Rectangle; fn get_restrict_to_fill_level(&self) -> bool; fn get_round_digits(&self) -> i32; fn get_show_fill_level(&self) -> bool; fn get_slider_range(&self) -> (i32, i32); fn get_slider_size_fixed(&self) -> bool; fn get_upper_stepper_sensitivity(&self) -> SensitivityType; fn get_value(&self) -> f64; fn set_adjustment(&self, adjustment: &Adjustment); fn set_fill_level(&self, fill_level: f64); fn set_flippable(&self, flippable: bool); fn set_increments(&self, step: f64, page: f64); fn set_inverted(&self, setting: bool); fn set_lower_stepper_sensitivity(&self, sensitivity: SensitivityType); fn set_min_slider_size(&self, min_size: i32); fn set_range(&self, min: f64, max: f64); fn set_restrict_to_fill_level(&self, restrict_to_fill_level: bool); fn set_round_digits(&self, round_digits: i32); fn set_show_fill_level(&self, show_fill_level: bool); fn set_slider_size_fixed(&self, size_fixed: bool); fn set_upper_stepper_sensitivity(&self, sensitivity: SensitivityType); fn set_value(&self, value: f64); fn connect_adjust_bounds<F: Fn(&Self, f64) + 'static>(&self, f: F) -> u64; fn connect_change_value<F: Fn(&Self, ScrollType, f64) -> Inhibit + 'static>(
&self,
f: F
) -> u64; fn connect_move_slider<F: Fn(&Self, ScrollType) + 'static>(
&self,
f: F
) -> u64; fn connect_value_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }
Required Methods
fn get_adjustment(&self) -> Adjustment
fn get_fill_level(&self) -> f64
fn get_flippable(&self) -> bool
fn get_inverted(&self) -> bool
fn get_lower_stepper_sensitivity(&self) -> SensitivityType
fn get_min_slider_size(&self) -> i32
fn get_range_rect(&self) -> Rectangle
fn get_restrict_to_fill_level(&self) -> bool
fn get_round_digits(&self) -> i32
fn get_show_fill_level(&self) -> bool
fn get_slider_range(&self) -> (i32, i32)
fn get_slider_size_fixed(&self) -> bool
fn get_upper_stepper_sensitivity(&self) -> SensitivityType
fn get_value(&self) -> f64
fn set_adjustment(&self, adjustment: &Adjustment)
fn set_fill_level(&self, fill_level: f64)
fn set_flippable(&self, flippable: bool)
fn set_increments(&self, step: f64, page: f64)
fn set_inverted(&self, setting: bool)
fn set_lower_stepper_sensitivity(&self, sensitivity: SensitivityType)
fn set_min_slider_size(&self, min_size: i32)
fn set_range(&self, min: f64, max: f64)
fn set_restrict_to_fill_level(&self, restrict_to_fill_level: bool)
fn set_round_digits(&self, round_digits: i32)
fn set_show_fill_level(&self, show_fill_level: bool)
fn set_slider_size_fixed(&self, size_fixed: bool)
fn set_upper_stepper_sensitivity(&self, sensitivity: SensitivityType)
fn set_value(&self, value: f64)
fn connect_adjust_bounds<F: Fn(&Self, f64) + 'static>(&self, f: F) -> u64
fn connect_change_value<F: Fn(&Self, ScrollType, f64) -> Inhibit + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64