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§
fn is_active(&self) -> bool
Available on crate feature
v4_10
only.fn adjustment(&self) -> Adjustment
fn has_frame(&self) -> bool
Available on crate feature
v4_14
only.fn popup(&self) -> Widget
fn value(&self) -> f64
fn set_adjustment(&self, adjustment: &impl IsA<Adjustment>)
fn set_has_frame(&self, has_frame: bool)
Available on crate feature
v4_14
only.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
Available on crate feature
v4_10
only.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
Available on crate feature
v4_14
only.fn connect_icons_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_value_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.