Method

GtkBoxset_center_widget

since: 3.12

Declaration [src]

void
gtk_box_set_center_widget (
  GtkBox* box,
  GtkWidget* widget
)

Description [src]

Sets a center widget; that is a child widget that will be centered with respect to the full width of the box, even if the children at either side take up different amounts of space.

Available since: 3.12

Parameters

widget

Type: GtkWidget

The widget to center.

The argument can be NULL.
The data is owned by the caller of the method.