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.

Parameters:

**kwargs -- Properties to set.

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"),
    ]
)
gproperty overlays: list[gi.repository.Gtk.Widget]#
  • read-write

A list of overlay widgets.