GtkWidgetClass.adjustSizeAllocation

Convert an initial size allocation assigned by a #GtkContainer using gtk.widget.Widget.sizeAllocate, into an actual size allocation to be used by the widget. adjust_size_allocation adjusts to a child widget’s actual allocation from what a parent container computed for the child. The adjusted allocation must be entirely within the original allocation. In any custom implementation, chain up to the default #GtkWidget implementation of this method, which applies the margin and alignment properties of #GtkWidget. Chain up before performing your own adjustments so your own adjustments remove more allocation after the #GtkWidget base class has already removed margin and alignment. The natural size passed in should be adjusted in the same way as the allocated size, which allows adjustments to perform alignments or other changes based on natural size.

struct GtkWidgetClass
extern (C)
void function(GtkWidget* widget, GtkOrientation orientation, int* minimumSize, int* naturalSize, int* allocatedPos, int* allocatedSize) adjustSizeAllocation;