feat: toggle radio from inside Gtk.Entry

This commit is contained in:
aclist committed 2026-03-01 00:43:27 +09:00
1 parent e568814a11
commit 9fa93f5938
2 files changed
+11

No files matched your search

+1
View File
@@ -232,6 +232,7 @@ class Notebook(ScrollableMixin, Gtk.Notebook): # type: ignore
def _on_keypress(self, widget: Gtk.Widget, event: Gdk.EventKey) -> None:
match event.keyval:
case Gdk.KEY_Right | Gdk.KEY_l:
# FIXME: propagation bool
if event.state is Gdk.ModifierType.CONTROL_MASK:
return
MainController.get_emitter().emit("request_button_box_focus")