Package ch.bailu.gtk.gtk
Interface CustomLayout.OnCustomMeasureFunc
- Enclosing class:
- CustomLayout
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCustomMeasureFunc
(CallbackHandler __self, Widget widget, int orientation, int for_size, Int minimum, Int natural, Int minimum_baseline, Int natural_baseline) A function to be used by `GtkCustomLayout` to measure a widget.
-
Method Details
-
onCustomMeasureFunc
void onCustomMeasureFunc(CallbackHandler __self, @Nonnull Widget widget, int orientation, int for_size, @Nonnull Int minimum, @Nonnull Int natural, @Nonnull Int minimum_baseline, @Nonnull Int natural_baseline) A function to be used by `GtkCustomLayout` to measure a widget.- Parameters:
widget
- the widget to be measuredorientation
- the direction to be measuredfor_size
- the size to be measured forminimum
- the measured minimum size of the widgetnatural
- the measured natural size of the widgetminimum_baseline
- the measured minimum baseline of the widgetnatural_baseline
- the measured natural baseline of the widget
-