Package ch.bailu.gtk.gtk
Schnittstelle CustomLayout.OnCustomAllocateFunc
- Umschließende Klasse:
CustomLayout
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
onCustomAllocateFunc
(CallbackHandler __self, Widget widget, int width, int height, int baseline) A function to be used by `GtkCustomLayout` to allocate a widget.
-
Methodendetails
-
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.- Parameter:
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
-