| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
GtkEventControllerKey can handle GDK_FOCUS_CHANGE and call
gtk_im_context_focus_in/out directly.
https://gitlab.gnome.org/GNOME/gtk/issues/2390
|
|
|
|
|
|
| |
contains-focus now returns TRUE when is-focus is TRUE instead of FALSE.
Fixes #2184
|
|
|
|
| |
...and use them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds specific marshallers for all of the locations where a generic
marshaller is being used. It also provides va_marshallers to reduce the
chances that we get stack traces from perf going through ffi_call_unix64.
This is forward ported from gtk-3-24.
# Conflicts:
# gtk/gtkeventcontrollerkey.c
# gtk/gtkeventcontrollermotion.c
# gtk/gtkgesture.c
# gtk/gtkgesturemultipress.c
|
|
|
|
|
|
|
|
|
|
| |
The key controller was consuming key events
for modifier keys, for no entirely convincing
reason, which leads to problems when somebody
actually listens for those, such as the simple
input method does for C-S-u processing.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1884
|
|
|
|
|
|
|
| |
This broke backspace handling in entries when an entry
completion is present.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1793
|
|
|
|
|
| |
We now set current_event for focus-change as well,
so make sure to check the event type.
|
|
|
|
| |
Mention the limitations of the key forwarding api.
|
|
|
|
|
| |
This information can be needed in signal handlers,
so make it available.
|
|
|
|
|
|
| |
Add boolean properties, is-focus and contains-focus, that
track whether the focus is in the widget itself or in
one of its descendants.
|
|
|
|
| |
Prefix the finalize function properly.
|
|
|
|
|
|
|
| |
This information is useful when maintaining a
'last focus' field.
Update all users.
|
|
|
|
| |
All 3 phases are run ATM, but just on the specific widget.
|
| |
|
|
|
|
|
| |
None of the GtkEventControllerKey signals are documented; this commit
adds documentation for a couple of them.
|
|
|
|
| |
The long description was missing.
|
|
|
|
|
| |
4.0 will represent a clean epoch. We don't want to have
lots of noise in the docs about 2.x or 3.x.
|
| |
|
|
|
|
| |
And handle GDK_FOCUS_CHANGE events in order to emit those.
|
|
|
|
|
| |
Callers can use this function on a key-pressed/released signal
to find out the key event group, useful in a few places.
|
| |
|
|
This event controller is meant to replace usage from key-press/release-event
handlers all through. Optionally it can be set a GtkIMContext, so interaction
is carried by the controller.
|