Gtk.CellAreaContext.prototype.push_preferred_width
function push_preferred_width(minimum_width:Number, natural_width:Number):void { // Gjs wrapper for gtk_cell_area_context_push_preferred_width() }
Causes the minimum and/or natural width to grow if the new proposed sizes exceed the current minimum and natural width.
This is used by Gtk.CellAreaContext implementations during the request process over a series of Gtk.TreeModel rows to progressively push the requested width over a series of Gtk.CellArea.prototype.get_preferred_width requests.
Since 3.0
- minimum_width
the proposed new minimum width for context
- natural_width
the proposed new natural width for context