summaryrefslogtreecommitdiff
path: root/lib/astal/gtk3/src/widget/overlay.vala
diff options
context:
space:
mode:
Diffstat (limited to 'lib/astal/gtk3/src/widget/overlay.vala')
-rw-r--r--lib/astal/gtk3/src/widget/overlay.vala8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/astal/gtk3/src/widget/overlay.vala b/lib/astal/gtk3/src/widget/overlay.vala
index 603ee66..ed5f03b 100644
--- a/lib/astal/gtk3/src/widget/overlay.vala
+++ b/lib/astal/gtk3/src/widget/overlay.vala
@@ -1,6 +1,11 @@
public class Astal.Overlay : Gtk.Overlay {
public bool pass_through { get; set; }
+ /**
+ * First [[email protected]:overlays] element.
+ *
+ * WARNING: setting this value will remove every overlay but the first.
+ */
public Gtk.Widget? overlay {
get { return overlays.nth_data(0); }
set {
@@ -14,6 +19,9 @@ public class Astal.Overlay : Gtk.Overlay {
}
}
+ /**
+ * Sets the overlays of this Overlay. [[email protected]_overlay].
+ */
public List<weak Gtk.Widget> overlays {
owned get { return get_children(); }
set {