Gtk.CellRenderer.prototype.get_preferred_width_for_height
function get_preferred_width_for_height(widget:Gtk.Widget, height:Number):void { // Gjs wrapper for gtk_cell_renderer_get_preferred_width_for_height() }
Retreives a cell renderers's minimum and natural width if it were rendered to widget with the specified height.
Since 3.0
- widget
the Gtk.Widget this cell will be rendering to
- height
the size which is available for allocation