Trait gtk::ProgressBarExt [−][src]
pub trait ProgressBarExt {
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<String>;
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<'a, P: Into<Option<&'a str>>>(&self, text: P);
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
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<String>
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<'a, P: Into<Option<&'a str>>>(&self, text: P)
fn connect_property_ellipsize_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_fraction_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_inverted_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_pulse_step_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<ProgressBar> + IsA<Object>> ProgressBarExt for O