Trait gtk4::prelude::RangeExt

source ·
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;
}

Required Methods§

source

fn adjustment(&self) -> Adjustment

source

fn fill_level(&self) -> f64

source

fn is_flippable(&self) -> bool

source

fn is_inverted(&self) -> bool

source

fn range_rect(&self) -> Rectangle

source

fn restricts_to_fill_level(&self) -> bool

source

fn round_digits(&self) -> i32

source

fn shows_fill_level(&self) -> bool

source

fn slider_range(&self) -> (i32, i32)

source

fn is_slider_size_fixed(&self) -> bool

source

fn value(&self) -> f64

source

fn set_adjustment(&self, adjustment: &impl IsA<Adjustment>)

source

fn set_fill_level(&self, fill_level: f64)

source

fn set_flippable(&self, flippable: bool)

source

fn set_increments(&self, step: f64, page: f64)

source

fn set_inverted(&self, setting: bool)

source

fn set_range(&self, min: f64, max: f64)

source

fn set_restrict_to_fill_level(&self, restrict_to_fill_level: bool)

source

fn set_round_digits(&self, round_digits: i32)

source

fn set_show_fill_level(&self, show_fill_level: bool)

source

fn set_slider_size_fixed(&self, size_fixed: bool)

source

fn set_value(&self, value: f64)

source

fn connect_adjust_bounds<F: Fn(&Self, f64) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_change_value<F: Fn(&Self, ScrollType, f64) -> Inhibit + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_move_slider<F: Fn(&Self, ScrollType) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn emit_move_slider(&self, step: ScrollType)

source

fn connect_value_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_adjustment_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_fill_level_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_inverted_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_restrict_to_fill_level_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_round_digits_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_show_fill_level_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§

source§

impl<O: IsA<Range>> RangeExt for O