[][src]Trait gtk::CellRendererSpinExt

pub trait CellRendererSpinExt: 'static {
    fn get_property_adjustment(&self) -> Option<Adjustment>;
fn set_property_adjustment<P: IsA<Adjustment> + SetValueOptional>(
        &self,
        adjustment: Option<&P>
    );
fn get_property_climb_rate(&self) -> f64;
fn set_property_climb_rate(&self, climb_rate: f64);
fn get_property_digits(&self) -> u32;
fn set_property_digits(&self, digits: u32);
fn connect_property_adjustment_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_climb_rate_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_digits_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all CellRendererSpin methods.

Implementors

CellRendererSpin

Required methods

fn get_property_adjustment(&self) -> Option<Adjustment>

The adjustment that holds the value of the spinbutton. This must be non-None for the cell renderer to be editable.

fn set_property_adjustment<P: IsA<Adjustment> + SetValueOptional>(
    &self,
    adjustment: Option<&P>
)

The adjustment that holds the value of the spinbutton. This must be non-None for the cell renderer to be editable.

fn get_property_climb_rate(&self) -> f64

The acceleration rate when you hold down a button.

fn set_property_climb_rate(&self, climb_rate: f64)

The acceleration rate when you hold down a button.

fn get_property_digits(&self) -> u32

The number of decimal places to display.

fn set_property_digits(&self, digits: u32)

The number of decimal places to display.

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

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

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

Loading content...

Implementors

impl<O: IsA<CellRendererSpin>> CellRendererSpinExt for O[src]

Loading content...