Gtk.CellAreaContext.prototype.get_preferred_width

function get_preferred_width():void {
    // Gjs wrapper for gtk_cell_area_context_get_preferred_width()
}

Gets the accumulative preferred width for all rows which have been requested with this context.

After Gtk.reset is called and/or before ever requesting the size of a Gtk.CellArea, the returned values are 0.

Since 3.0