diff options
author | Aylur <[email protected]> | 2024-06-19 02:29:46 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-06-19 02:29:46 +0200 |
commit | 049aeae084efd8616fbdcefc977f32dec9d0eb5a (patch) | |
tree | 14bb7df1e8abe3013a5cfa6510222646d86ec890 | |
parent | 9f775f32422a6934a4e76eeaad066ea26443e294 (diff) |
set eventbox css name
-rw-r--r-- | src/widget/eventbox.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widget/eventbox.vala b/src/widget/eventbox.vala index 54b0da5..bee7cbc 100644 --- a/src/widget/eventbox.vala +++ b/src/widget/eventbox.vala @@ -7,6 +7,10 @@ public class EventBox : Gtk.EventBox { public signal void scroll (ScrollEvent event); public signal void motion (MotionEvent event); + static construct { + set_css_name("eventbox"); + } + construct { add_events(Gdk.EventMask.SCROLL_MASK); add_events(Gdk.EventMask.SMOOTH_SCROLL_MASK); |