Gtk.CellAreaContext.prototype.get_preferred_width_for_height

function get_preferred_width_for_height(height:Number):void {
    // Gjs wrapper for gtk_cell_area_context_get_preferred_width_for_height()
}

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

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

Since 3.0

height

a proposed height for allocation