pub trait RangeExt: 'static {
Show 33 methods
// Required methods
fn adjustment(&self) -> Adjustment;
fn fill_level(&self) -> f64;
fn is_flippable(&self) -> bool;
fn is_inverted(&self) -> bool;
fn range_rect(&self) -> Rectangle;
fn restricts_to_fill_level(&self) -> bool;
fn round_digits(&self) -> i32;
fn shows_fill_level(&self) -> bool;
fn slider_range(&self) -> (i32, i32);
fn is_slider_size_fixed(&self) -> bool;
fn value(&self) -> f64;
fn set_adjustment(&self, adjustment: &impl IsA<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_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_value(&self, value: f64);
fn connect_adjust_bounds<F: Fn(&Self, f64) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_change_value<F: Fn(&Self, ScrollType, f64) -> Inhibit + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_move_slider<F: Fn(&Self, ScrollType) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn emit_move_slider(&self, step: ScrollType);
fn connect_value_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_adjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_fill_level_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_inverted_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_restrict_to_fill_level_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_round_digits_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_show_fill_level_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}