Skip to content

Gtk4 prep: Avoid connecting directly to key press event#1731

Draft
jeremypw wants to merge 1 commit into
masterfrom
jeremypw/gtkprep/avoid-key-event
Draft

Gtk4 prep: Avoid connecting directly to key press event#1731
jeremypw wants to merge 1 commit into
masterfrom
jeremypw/gtkprep/avoid-key-event

Conversation

@jeremypw

Copy link
Copy Markdown
Collaborator

Attaching a EventControllerKey to a Gtk.Entry does not work (in Gtk3 at least) as the events are swallowed by the widget regardless of the propgation phase. So we handle the key presses in the existing MainWindow key controller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant