Method
Gtk.LayoutManager.measure
Declaration [src]
void
gtk_layout_manager_measure (
GtkLayoutManager* manager,
GtkWidget* widget,
GtkOrientation orientation,
int for_size,
int* minimum,
int* natural,
int* minimum_baseline,
int* natural_baseline
)
Description [src]
Measures the size of the widget
using manager
, for the
given orientation
and size.
See the GtkWidget
documentation on layout management for
more details.
Parameters
widget |
GtkWidget |
the |
|
The data is owned by the caller of the function | |
orientation |
GtkOrientation |
the orientation to measure |
|
for_size |
int |
Size for the opposite of |
|
minimum |
int* |
the minimum size for the given size and orientation |
|
Direction: out | |
The called function takes ownership of the data, and is responsible for freeing it | |
natural |
int* |
the natural, or preferred size for the given size and orientation |
|
Direction: out | |
The called function takes ownership of the data, and is responsible for freeing it | |
minimum_baseline |
int* |
the baseline position for the minimum size |
|
Direction: out | |
The called function takes ownership of the data, and is responsible for freeing it | |
natural_baseline |
int* |
the baseline position for the natural size |
|
Direction: out | |
The called function takes ownership of the data, and is responsible for freeing it |