Overlay#

class ignis.widgets.Widget.Overlay(*args: Any, **kwargs: Any)#

Bases: Gtk.Overlay

A container that places its children on top of each other. The child property is the main child, on which other widgets defined in overlays will be placed on top.

Widget.Overlay(
    child=Widget.Label(label="This is the main child"),
    overlays=[
        Widget.Label(label="Overlay child 1"),
        Widget.Label(label="Overlay child 2"),
        Widget.Label(label="Overlay child 3"),
    ]
)
property overlays: list[gi.repository.Gtk.Widget]#
  • optional, read-write

A list of overlay widgets.