addOverlay

open fun addOverlay(widget: Widget)

Adds @widget to @overlay.

The widget will be stacked on top of the main widget added with method@Gtk.Overlay.set_child.

The position at which @widget is placed is determined from its property@Gtk.Widget:halign and property@Gtk.Widget:valign properties.

Parameters

widget

a GtkWidget to be added to the container