Class: Gtk::CellRendererSpin

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#adjustmentGtk::Adjustment

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

Returns:

#adjustment=(adjustment) ⇒ Gtk::Adjustment

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

Parameters:

Returns:

#climb_rateFloat

The acceleration rate when you hold down a button.

Returns:

  • (Float)

    climb-rate

#climb_rate=(climb_rate) ⇒ Float

The acceleration rate when you hold down a button.

Parameters:

  • climb_rate (Float)

Returns:

  • (Float)

    climb-rate

  • (Float)

    climb-rate

#digitsInteger

The number of decimal places to display.

Returns:

  • (Integer)

    digits

#digits=(digits) ⇒ Integer

The number of decimal places to display.

Parameters:

  • digits (Integer)

Returns:

  • (Integer)

    digits

  • (Integer)

    digits

#newGtk::CellRenderer

Creates a new Gtk::CellRendererSpin.

Returns: