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