Trait gtk4::prelude::ScaleButtonExt
source · [−]pub trait ScaleButtonExt: 'static {
Show 17 methods
fn adjustment(&self) -> Adjustment;
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_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_adjustment_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;
}
Required Methods
source
fn adjustment(&self) -> Adjustment
source
fn set_adjustment(&self, adjustment: &impl IsA<Adjustment>)
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)
sourcefn connect_value_changed<F: Fn(&Self, f64) + 'static>(
fn connect_value_changed<F: Fn(&Self, f64) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_adjustment_notify<F: Fn(&Self) + 'static>(
fn connect_adjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn connect_icons_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source