Currently presses the focused widget (has different behavior in text widgets; it will probably change).
Maybe introduce a new attribute that tells a single button (per layout) to catch all 'enter' key presses. If present, pressing 'enter' presses that button, otherwise, it presses the focused widget (space bar always presses the focused widget).
Currently presses the focused widget (has different behavior in text widgets; it will probably change).
Maybe introduce a new attribute that tells a single button (per layout) to catch all 'enter' key presses. If present, pressing 'enter' presses that button, otherwise, it presses the focused widget (space bar always presses the focused widget).