Trait ux::ProgressBarExt [−][src]
pub trait ProgressBarExt: 'static { pub fn get_progress(&self) -> f64; pub fn set_progress(&self, progress: f64); pub fn connect_property_progress_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); }
Required methods
pub fn get_progress(&self) -> f64
[src]
get_progress: @bar: A #ProgressBar
Get the progress of the progress bar
Returns: A value between 0.0 and 1.0
pub fn set_progress(&self, progress: f64)
[src]
set_progress: @bar: A #ProgressBar @progress: A value between 0.0 and 1.0
Set the progress of the progress bar
pub fn connect_property_progress_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
Implementors
impl<O> ProgressBarExt for O where
O: Is<ProgressBar>,
[src]
impl<O> ProgressBarExt for O where
O: Is<ProgressBar>,
[src]pub fn get_progress(&self) -> f64
[src]
get_progress: @bar: A #ProgressBar
Get the progress of the progress bar
Returns: A value between 0.0 and 1.0
pub fn set_progress(&self, progress: f64)
[src]
set_progress: @bar: A #ProgressBar @progress: A value between 0.0 and 1.0
Set the progress of the progress bar
pub fn connect_property_progress_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),