Method
GtkWidgetallocate
Declaration [src]
void
gtk_widget_allocate (
GtkWidget* widget,
int width,
int height,
int baseline,
GskTransform* transform
)
Description [src]
This function is only used by GtkWidget
subclasses, to
assign a size, position and (optionally) baseline to their
child widgets.
In this function, the allocation and baseline may be adjusted. The given allocation will be forced to be bigger than the widget’s minimum size, as well as at least 0×0 in size.
For a version that does not take a transform, see
gtk_widget_size_allocate()
.
Parameters
width |
int |
New width of |
|
height |
int |
New height of |
|
baseline |
int |
New baseline of |
|
transform |
GskTransform |
Transformation to be applied to |
|
The argument can be NULL . | |
The instance takes ownership of the data, and is responsible for freeing it. |