feat: alert button

This commit is contained in:
aclist committed 2026-04-22 22:43:07 +09:00
1 parent a2231e3cb9
commit d9ec01d9b0
7 files changed
+72 -20

No files matched your search

+4 -1
View File
@@ -22,7 +22,10 @@ class Log(CursorMixin, HelpMenuMixin, Gtk.Box): # type: ignore
self.check_bar = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
# TODO: strings
active = ("WARNING", "CRITICAL", "INFO")
active = (
"WARNING",
"CRITICAL",
)
for check in ("WARNING", "CRITICAL", "INFO", "DEBUG"):
c = Gtk.CheckButton(label=check)
self.check_bar.pack_start(c, False, False, 0)