pub trait ScaleButtonExt: 'static {
Show 20 methods
// Required methods
fn get_adjustment(&self) -> Adjustment;
fn get_minus_button(&self) -> Option<Button>;
fn get_plus_button(&self) -> Option<Button>;
fn get_popup(&self) -> Option<Widget>;
fn get_value(&self) -> f64;
fn set_adjustment<P: IsA<Adjustment>>(&self, adjustment: &P);
fn set_icons(&self, icons: &[&str]);
fn set_value(&self, value: f64);
fn get_property_icons(&self) -> Vec<GString>;
fn get_property_size(&self) -> IconSize;
fn set_property_size(&self, size: IconSize);
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_property_adjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_icons_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_value_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_adjustment(&self) -> Adjustment
fn get_popup(&self) -> Option<Widget>
fn get_value(&self) -> f64
fn set_adjustment<P: IsA<Adjustment>>(&self, adjustment: &P)
fn set_icons(&self, icons: &[&str])
fn set_value(&self, value: f64)
fn get_property_icons(&self) -> Vec<GString>
fn get_property_size(&self) -> IconSize
fn set_property_size(&self, size: IconSize)
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_property_adjustment_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_icons_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_size_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_value_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.