Trait gtk4::prelude::ScaleExt

source ·
pub trait ScaleExt: IsA<Scale> + Sealed + 'static {
Show 17 methods // Provided methods fn add_mark(&self, value: f64, position: PositionType, markup: Option<&str>) { ... } fn clear_marks(&self) { ... } fn digits(&self) -> i32 { ... } fn draws_value(&self) -> bool { ... } fn has_origin(&self) -> bool { ... } fn layout(&self) -> Option<Layout> { ... } fn layout_offsets(&self) -> (i32, i32) { ... } fn value_pos(&self) -> PositionType { ... } fn set_digits(&self, digits: i32) { ... } fn set_draw_value(&self, draw_value: bool) { ... } fn set_format_value_func<P: Fn(&Scale, f64) -> String + 'static>( &self, func: P ) { ... } fn set_has_origin(&self, has_origin: bool) { ... } fn set_value_pos(&self, pos: PositionType) { ... } fn connect_digits_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_draw_value_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_has_origin_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_value_pos_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn add_mark(&self, value: f64, position: PositionType, markup: Option<&str>)

source

fn clear_marks(&self)

source

fn digits(&self) -> i32

source

fn draws_value(&self) -> bool

source

fn has_origin(&self) -> bool

source

fn layout(&self) -> Option<Layout>

source

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

source

fn value_pos(&self) -> PositionType

source

fn set_digits(&self, digits: i32)

source

fn set_draw_value(&self, draw_value: bool)

source

fn set_format_value_func<P: Fn(&Scale, f64) -> String + 'static>(&self, func: P)

source

fn set_has_origin(&self, has_origin: bool)

source

fn set_value_pos(&self, pos: PositionType)

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Scale>> ScaleExt for O