CellArea.getPreferredWidth
void getPreferredWidth(gtk.cell_area_context.CellAreaContext context, gtk.widget.Widget widget, out int minimumWidth, out int naturalWidth)Retrieves a cell area’s initial minimum and natural width.
area will store some geometrical information in context along the way; when requesting sizes over an arbitrary number of rows, it’s not important to check the minimum_width and natural_width of this call but rather to consult [gtk.cell_area_context.CellAreaContext.getPreferredWidth] after a series of requests.
Parameters
context | the [gtk.cell_area.CellArea]Context to perform this request with |
widget | the [gtk.widget.Widget] where area will be rendering |
minimumWidth | location to store the minimum width |
naturalWidth | location to store the natural width |