Package: gtk

Function gtk-overlay-reorder-overlay

Lambda List

gtk-overlay-reorder-overlay (overlay child position)

Arguments

overlay -- a gtk-overlay widget
child -- a overlaid gtk-widget child widget to move
position -- an integer with the new index for the child widget in the list of overlay children of the overlay container, starting from 0, if negative, indicates the end of the list

Details

Moves a child widget to a new index in the list of overlay children. The list contains overlays in the order that these were added to the overlay container.

An index of the widget 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.

Since 3.18
 

See also

2021-10-21