Method
GtkWidgetsize_allocate
Declaration [src]
void
gtk_widget_size_allocate (
GtkWidget* widget,
const GtkAllocation* allocation,
int baseline
)
Description [src]
Allocates widget with a transformation that translates the origin to
the position in allocation.
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.
This function is only used by widget implementations to allocate a size for their direct children.
This is a simple form of gtk_widget_allocate().
Parameters
allocation-
Type:
GtkAllocationPosition and size to be allocated to
widget.The data is owned by the caller of the method. baseline-
Type:
intThe baseline of the child, or -1.