Struct gtk::ProgressBar
[−]
pub struct ProgressBar(_, _);
Methods
impl ProgressBar
[src]
fn new() -> ProgressBar
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_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, T: Into<Option<&'a str>>>(&self, text: T)
Trait Implementations
impl Clone for ProgressBar
fn clone(&self) -> ProgressBar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ProgressBar
impl Hash for ProgressBar
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for ProgressBar
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for ProgressBar
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.