Trait ScaleButtonExt

Source
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§

Source

fn get_adjustment(&self) -> Adjustment

Source

fn get_minus_button(&self) -> Option<Button>

Source

fn get_plus_button(&self) -> Option<Button>

Source

fn get_popup(&self) -> Option<Widget>

Source

fn get_value(&self) -> f64

Source

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

Source

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

Source

fn set_value(&self, value: f64)

Source

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

Source

fn get_property_size(&self) -> IconSize

Source

fn set_property_size(&self, size: IconSize)

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_property_adjustment_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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

Source

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

Source

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.

Implementors§