CellAreaContext.getPreferredWidth

void getPreferredWidth(out int minimumWidth, out int naturalWidth)

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

After [gtk.cell_area_context.CellAreaContext.reset] is called and/or before ever requesting the size of a [gtk.cell_area.CellArea], the returned values are 0.

Parameters

minimumWidthlocation to store the minimum width
naturalWidthlocation to store the natural width

Deprecated

This object will be removed in GTK 5