Trait ux::native::SpinnerExt [−][src]
pub trait SpinnerExt: 'static { pub fn get_animating(&self) -> bool; pub fn set_animating(&self, animating: bool); pub fn connect_looped<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_animating_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); }
Required methods
pub fn get_animating(&self) -> bool
[src]
get_animating: @spinner: A #Spinner widget
Determines whether the spinner is animating.
Returns: %true if the spinner is animating, %false otherwise
pub fn set_animating(&self, animating: bool)
[src]
set_animating: @spinner: A #Spinner widget @animating: %true to enable animation, %false to disable
Sets whether the spinner is animating. A spinner can be stopped if the task it represents has finished, or to save energy.
pub fn connect_looped<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_animating_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
Implementors
impl<O> SpinnerExt for O where
O: Is<Spinner>,
[src]
impl<O> SpinnerExt for O where
O: Is<Spinner>,
[src]pub fn get_animating(&self) -> bool
[src]
get_animating: @spinner: A #Spinner widget
Determines whether the spinner is animating.
Returns: %true if the spinner is animating, %false otherwise
pub fn set_animating(&self, animating: bool)
[src]
set_animating: @spinner: A #Spinner widget @animating: %true to enable animation, %false to disable
Sets whether the spinner is animating. A spinner can be stopped if the task it represents has finished, or to save energy.
pub fn connect_looped<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_animating_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),