summaryrefslogtreecommitdiff
path: root/lib/astal/gtk3/src/widget/overlay.vala
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-10-23 20:37:32 +0000
committerAylur <[email protected]>2024-10-23 20:37:32 +0000
commit306e64998c1bf1fb997c1098ae92d6edfef31cd2 (patch)
tree1f852514d269f9ad1d3523771e9119760ace6948 /lib/astal/gtk3/src/widget/overlay.vala
parent72670224a49cf22779b56eabce0d9ce71bfb5486 (diff)
docs: astal3 and io comments
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 {