Basics
Guides
API Reference
Basics
Guides
API Reference
[22:7] extends: object
Renders a spin button in a cell GtkCellRendererSpin renders text in a cell
like GtkCellRendererText from which it is derived. But while
GtkCellRendererText offers a simple entry to edit the text,
GtkCellRendererSpin offers a GtkSpinButton widget. Of course, that means
that the text has to be parseable as a floating point number. The range of
the spinbutton is taken from the adjustment property of the cell renderer,
which can be set explicitly or mapped to a column in the tree model, like all
properties of cell renders. GtkCellRendererSpin also has properties for the
GtkCellRendererSpin:climb-rate and the number of
GtkCellRendererSpin:digits to display. Other GtkSpinButton properties can
be set in a handler for the GtkCellRenderer::editing-started signal.
CellRendererSpin ()
Creates a new
GtkCellRendererSpin.
toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asCellRendererText ()
Wraps this handle as
CellRendererText.
A CellRendererText object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setAdjustment (object Value)
The adjustment that holds the value of the spinbutton. This must be non-%NULL for the cell renderer to be editable.
Value is the new property value.None.setClimbrate (double Value)
The acceleration rate when you hold down a button.
Value is the new property value.None.setDigits (int Value)
The number of decimal places to display.
Value is the new property value.None.[165:14] static extends: object
Generated metadata helpers for CellRendererSpin class surfaces.
properties ()
Returns property metadata for
CellRendererSpin.
A list.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.