Widget.getAllocatedSize
void getAllocatedSize(out gtk.types.Allocation allocation, out int baseline)Retrieves the widget’s allocated size.
This function returns the last values passed to gtk.widget.Widget.sizeAllocateWithBaseline. The value differs from the size returned in gtk.widget.Widget.getAllocation in that functions like gtk.widget.Widget.setHalign can adjust the allocation, but not the value returned by this function.
If a widget is not visible, its allocated size is 0.
Parameters
allocation | a pointer to a #GtkAllocation to copy to |
baseline | a pointer to an integer to copy to |