Method

GtkOverlayreorder_overlay

since: 3.18

Declaration [src]

void
gtk_overlay_reorder_overlay (
  GtkOverlay* overlay,
  GtkWidget* child,
  int index_
)

Description [src]

Moves child to a new index in the list of overlay children. The list contains overlays in the order that these were added to overlay by default. See also GtkOverlay:index.

A widget’s index in the overlay children list determines which order the children are drawn if they overlap. The first child is drawn at the bottom. It also affects the default focus chain order.

Available since: 3.18

Parameters

child

Type: GtkWidget

The overlaid GtkWidget to move.

The data is owned by the caller of the method.
index_

Type: int

The new index for child in the list of overlay children of overlay, starting from 0. If negative, indicates the end of the list.