Trait ProgressBarExt

Source
pub trait ProgressBarExt: 'static {
Show 19 methods // Required methods fn get_ellipsize(&self) -> EllipsizeMode; fn get_fraction(&self) -> f64; fn get_inverted(&self) -> bool; fn get_pulse_step(&self) -> f64; fn get_show_text(&self) -> bool; fn get_text(&self) -> Option<GString>; fn pulse(&self); fn set_ellipsize(&self, mode: EllipsizeMode); fn set_fraction(&self, fraction: f64); fn set_inverted(&self, inverted: bool); fn set_pulse_step(&self, fraction: f64); fn set_show_text(&self, show_text: bool); fn set_text(&self, text: Option<&str>); fn connect_property_ellipsize_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_fraction_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_inverted_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_pulse_step_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_ellipsize(&self) -> EllipsizeMode

Source

fn get_fraction(&self) -> f64

Source

fn get_inverted(&self) -> bool

Source

fn get_pulse_step(&self) -> f64

Source

fn get_show_text(&self) -> bool

Source

fn get_text(&self) -> Option<GString>

Source

fn pulse(&self)

Source

fn set_ellipsize(&self, mode: EllipsizeMode)

Source

fn set_fraction(&self, fraction: f64)

Source

fn set_inverted(&self, inverted: bool)

Source

fn set_pulse_step(&self, fraction: f64)

Source

fn set_show_text(&self, show_text: bool)

Source

fn set_text(&self, text: Option<&str>)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn connect_property_text_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§