Method
GtkWidgetallocate_detailed
unstable since: 4.26
Declaration [src]
void
gtk_widget_allocate_detailed (
GtkWidget* widget,
int x,
int y,
int width,
int height,
const GtkAllocationDetails* details
)
Description [src]
Assigns size, position, and further details to a child widget.
The given allocation must be large enough for the widget’s minimum
size, as well as at least 0×0 in size. See gtk_widget_measure()
for querying a minimum size.
The transform given by the details is applied first, before the x, y, width and height arguments are considered.
This function is only used by widget implementations to allocate a size for their direct children.
Available since: 4.26
Parameters
x-
Type:
intNew x coordinate.
y-
Type:
intNew y coordinate.
width-
Type:
intNew width.
height-
Type:
intNew height.
details-
Type:
GtkAllocationDetailsDetails of the allocation.
The argument can be NULL.The data is owned by the caller of the method.