size_allocate_with_baseline


Description:

[ Version ( since = "3.10" ) ]
public void size_allocate_with_baseline (Allocation allocation, int baseline)

This function is only used by Container subclasses, to assign a size, position and (optionally) baseline to their child widgets.

In this function, the allocation and baseline may be adjusted. It will be forced to a 1x1 minimum size, and the adjust_size_allocation virtual and adjust_baseline_allocation methods on the child will be used to adjust the allocation and baseline. Standard adjustments include removing the widget's margins, and applying the widget’s halign and valign properties.

If the child widget does not have a valign of gtk_align_baseline the baseline argument is ignored and -1 is used instead.

Parameters:

this

a Widget

allocation

position and size to be allocated to this

baseline

The baseline of the child, or -1