Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: object
Renders numbers as progress bars GtkCellRendererProgress renders a numeric
value as a progress par in a cell. Additionally, it can display a text on top
of the progress bar.
CellRendererProgress ()
Creates a new
GtkCellRendererProgress.
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.asCellRenderer ()
Wraps this handle as
CellRenderer.
A CellRenderer object.asOrientable ()
Wraps this handle as
Orientable.
A Orientable object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setInverted (bool Value)
Whether progess is inverted.
Value is the new property value.None.setPulse (int Value)
Setting this to a non-negative value causes the cell renderer to enter "activity mode", where a block bounces back and forth to indicate that some progress is made, without specifying exactly how much. Each increment of the property causes the block to move by a little bit. To indicate that the activity has not started yet, set the property to zero. To indicate completion, set the property to %G_MAXINT.
Value is the new property value.None.setText (string Value)
The "text" property determines the label which will be drawn over the progress bar. Setting this property to %NULL causes the default label to be displayed. Setting this property to an empty string causes no label to be displayed.
Value is the new property value.None.setTextxalign (double Value)
The "text-xalign" property controls the horizontal alignment of the text in the progress bar. Valid values range from 0 (left) to 1 (right). Reserved for RTL layouts.
Value is the new property value.None.setTextyalign (double Value)
The "text-yalign" property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom).
Value is the new property value.None.setValue (int Value)
The "value" property determines the percentage to which the progress bar will be "filled in".
Value is the new property value.None.[217:14] static extends: object
Generated metadata helpers for CellRendererProgress class surfaces.
properties ()
Returns property metadata for
CellRendererProgress.
A list.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.