summaryrefslogtreecommitdiff
path: root/lib/astal/gtk3/src/widget/eventbox.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/eventbox.vala
parent72670224a49cf22779b56eabce0d9ce71bfb5486 (diff)
docs: astal3 and io comments
Diffstat (limited to 'lib/astal/gtk3/src/widget/eventbox.vala')
-rw-r--r--lib/astal/gtk3/src/widget/eventbox.vala9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/astal/gtk3/src/widget/eventbox.vala b/lib/astal/gtk3/src/widget/eventbox.vala
index 611da2a..0b588e9 100644
--- a/lib/astal/gtk3/src/widget/eventbox.vala
+++ b/lib/astal/gtk3/src/widget/eventbox.vala
@@ -1,3 +1,9 @@
+/**
+ * EventBox is a [[email protected]] subclass which is meant to fix an issue with its
+ * [[email protected]::enter_notify_event] and [[email protected]::leave_notify_event] when nesting EventBoxes
+ *
+ * Its css selector is `eventbox`.
+ */
public class Astal.EventBox : Gtk.EventBox {
public signal void hover (HoverEvent event);
public signal void hover_lost (HoverEvent event);
@@ -49,6 +55,9 @@ public class Astal.EventBox : Gtk.EventBox {
}
}
+/**
+ * Struct for [[email protected]]
+ */
public struct Astal.MotionEvent {
uint time;
double x;