Function
GtkCustomAllocateFunc
since: 4.0
Declaration
void
(* GtkCustomAllocateFunc) (
GtkWidget* widget,
int width,
int height,
int baseline
)
Description [src]
A function to be used by GtkCustomLayout to allocate a widget.
Available since: 4.0
Parameters
widget-
Type:
GtkWidgetThe widget to allocate.
The data is owned by the caller of the function. width-
Type:
intThe new width of the widget.
height-
Type:
intThe new height of the widget.
baseline-
Type:
intThe new baseline of the widget, or -1