---
name: "GEdit.spin_button"
section: "3o"
platform: "linux"
package: "liblablgtk2-ocaml-doc"
version: "2.4.0v0.2tv-8"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/GEdit.spin_button"
---

# GEdit.spin\_button(3o)

Retrieve an integer or floating-point number from the user

## NAME

GEdit.spin\_button - Retrieve an integer or floating-point number from the user

## Class

Class   GEdit.spin\_button

## Documentation

*class spin\_button :* **Gtk.spin\_button Gtk.obj -\> object end**

Retrieve an integer or floating-point number from the user

**Parameters:**

""

**Gtk.spin\_button Gtk.obj**

*val obj :* **Gtk.spin\_button Gtk.obj**

*method connect :* **GEdit.spin\_button\_signals**

*method event :* **GObj.event\_ops**

*method spin :* **Gtk.Tags.spin\_type -\> unit**

*method update :* **unit**

*method value\_as\_int :* **int**

*method set\_adjustment :* **GData.adjustment -\> unit**

*method set\_digits :* **int -\> unit**

*method set\_numeric :* **bool -\> unit**

*method set\_rate :* **float -\> unit**

*method set\_snap\_to\_ticks :* **bool -\> unit**

*method set\_update\_policy :* **\[ \`ALWAYS \| \`IF\_VALID \] -\> unit**

*method set\_value :* **float -\> unit**

*method set\_wrap :* **bool -\> unit**

*method adjustment :* **GData.adjustment**

*method digits :* **int**

*method numeric :* **bool**

*method rate :* **float**

*method snap\_to\_ticks :* **bool**

*method update\_policy :* **\[ \`ALWAYS \| \`IF\_VALID \]**

*method value :* **float**

*method wrap :* **bool**
