mirror of
https://github.com/aclist/dztui.git
synced 2026-11-13 21:31:52 +01:00
feat: alert button
This commit is contained in:
1 parent
a2231e3cb9
commit
d9ec01d9b0
7 files changed
+72
-20
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user