CustomMeasureFunc


Description:

[ CCode ( has_target = false ) ]
public delegate void CustomMeasureFunc (Widget widget, Orientation orientation, int for_size, out int minimum, out int natural, out int minimum_baseline, out int natural_baseline)

A function to be used by `GtkCustomLayout` to measure a widget.

Parameters:

widget

the widget to be measured

orientation

the direction to be measured

for_size

the size to be measured for

minimum

the measured minimum size of the widget

natural

the measured natural size of the widget

minimum_baseline

the measured minimum baseline of the widget

natural_baseline

the measured natural baseline of the widget


Namespace: Gtk
Package: gtk4