getPreferredSize
open fun getPreferredSize(widget: Widget, minimumSize: Requisition?, naturalSize: Requisition?)(source)
⚠️ Deprecated ⚠️
This is deprecated since version 4.10.
---Retrieves the minimum and natural size of a cell taking into account the widget’s preference for height-for-width management.
Parameters
widget
the GtkWidget
this cell will be rendering to
minimumSize
location for storing the minimum size
naturalSize
location for storing the natural size