Trait gtk4::prelude::ScaleButtonExt

source ·
pub trait ScaleButtonExt: IsA<ScaleButton> + Sealed + 'static {
Show 22 methods // Provided methods fn is_active(&self) -> bool { ... } fn adjustment(&self) -> Adjustment { ... } fn has_frame(&self) -> bool { ... } fn minus_button(&self) -> Button { ... } fn plus_button(&self) -> Button { ... } fn popup(&self) -> Widget { ... } fn value(&self) -> f64 { ... } fn set_adjustment(&self, adjustment: &impl IsA<Adjustment>) { ... } fn set_has_frame(&self, has_frame: bool) { ... } fn set_icons(&self, icons: &[&str]) { ... } fn set_value(&self, value: f64) { ... } fn icons(&self) -> Vec<GString> { ... } fn connect_popdown<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn emit_popdown(&self) { ... } fn connect_popup<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn emit_popup(&self) { ... } fn connect_value_changed<F: Fn(&Self, f64) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_active_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_adjustment_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_has_frame_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_icons_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_value_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn is_active(&self) -> bool

Available on crate feature v4_10 only.
source

fn adjustment(&self) -> Adjustment

source

fn has_frame(&self) -> bool

Available on crate feature v4_14 only.
source

fn minus_button(&self) -> Button

source

fn plus_button(&self) -> Button

source

fn popup(&self) -> Widget

source

fn value(&self) -> f64

source

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

source

fn set_has_frame(&self, has_frame: bool)

Available on crate feature v4_14 only.
source

fn set_icons(&self, icons: &[&str])

source

fn set_value(&self, value: f64)

source

fn icons(&self) -> Vec<GString>

source

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

source

fn emit_popdown(&self)

source

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

source

fn emit_popup(&self)

source

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

source

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

Available on crate feature v4_10 only.
source

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

source

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

Available on crate feature v4_14 only.
source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§