Trait components::SpinnerExt[][src]

pub trait SpinnerExt: 'static {
    fn get_animating(&self) -> bool;
fn set_animating(&self, animating: bool);
fn connect_looped<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_property_animating_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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

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.

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

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

Loading content...

Implementors

impl<O: Is<Spinner>> SpinnerExt for O[src]

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

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.

Loading content...