Package ch.bailu.gtk.gtk
Interface CustomLayout.OnCustomAllocateFunc
- 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
onCustomAllocateFunc
(CallbackHandler __self, Widget widget, int width, int height, int baseline) A function to be used by `GtkCustomLayout` to allocate a widget.
-
Method Details
-
onCustomAllocateFunc
void onCustomAllocateFunc(CallbackHandler __self, @Nonnull Widget widget, int width, int height, int baseline) A function to be used by `GtkCustomLayout` to allocate a widget.- Parameters:
widget
- the widget to allocatewidth
- the new width of the widgetheight
- the new height of the widgetbaseline
- the new baseline of the widget, or -1
-