[][src]Trait gtk::prelude::CellRendererSpinnerExt

pub trait CellRendererSpinnerExt: 'static {
    fn get_property_active(&self) -> bool;
fn set_property_active(&self, active: bool);
fn get_property_pulse(&self) -> u32;
fn set_property_pulse(&self, pulse: u32);
fn get_property_size(&self) -> IconSize;
fn set_property_size(&self, size: IconSize);
fn connect_property_active_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_pulse_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all CellRendererSpinner methods.

Implementors

CellRendererSpinner

Required methods

fn get_property_active(&self) -> bool

fn set_property_active(&self, active: bool)

fn get_property_pulse(&self) -> u32

Pulse of the spinner. Increment this value to draw the next frame of the spinner animation. Usually, you would update this value in a timeout.

By default, the Spinner widget draws one full cycle of the animation, consisting of 12 frames, in 750 milliseconds.

fn set_property_pulse(&self, pulse: u32)

Pulse of the spinner. Increment this value to draw the next frame of the spinner animation. Usually, you would update this value in a timeout.

By default, the Spinner widget draws one full cycle of the animation, consisting of 12 frames, in 750 milliseconds.

fn get_property_size(&self) -> IconSize

The IconSize value that specifies the size of the rendered spinner.

fn set_property_size(&self, size: IconSize)

The IconSize value that specifies the size of the rendered spinner.

fn connect_property_active_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_pulse_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_size_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<CellRendererSpinner>> CellRendererSpinnerExt for O[src]

Loading content...