feat: add eventbox to offline mods page

This commit is contained in:
aclist committed 2026-07-24 01:30:32 +09:00
1 parent 525de56036
commit ec7828df85
3 files changed
+20 -4

No files matched your search

+3
View File
@@ -30,6 +30,9 @@ class InfoEventBox(Gtk.EventBox):
self.connect("leave-notify-event", self._on_leave_tooltip)
self.add(box)
def set_icon_yalign(self, offset: float) -> None:
self.icon.set_property("yalign", offset)
def _on_enter_tooltip(
self, eventbox: Gtk.EventBox, eventcrossing: Gdk.EventCrossing
) -> None: