Trait components::ProgressBarExt[][src]

pub trait ProgressBarExt: 'static {
    fn get_progress(&self) -> f64;
fn set_progress(&self, progress: f64);
fn connect_property_progress_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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

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

fn connect_property_progress_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: Is<ProgressBar>> ProgressBarExt for O[src]

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

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

Loading content...