6.4 GtkCustomMeasureFunc

Callback: GtkCustomMeasureFunc

A procedure given for it is called as (procedure widget orientation for-size) ⇒ minimum natural minimum-baseline natural-baseline.

A function to be used by <GtkCustomLayout> to measure a widget.

widget

Passed: a <GtkWidget>.

the widget to be measured

orientation

Passed: a <GtkOrientation>.

the direction to be measured

for-size

Passed: a 32-bit integer.

the size to be measured for

minimum

Returned: a 32-bit integer.

the measured minimum size of the widget

natural

Returned: a 32-bit integer.

the measured natural size of the widget

minimum-baseline

Returned: a 32-bit integer.

the measured minimum baseline of the widget

natural-baseline

Returned: a 32-bit integer.

the measured natural baseline of the widget