| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Restructure the getters for event fields to
be more targeted at particular event types.
Update all callers, and replace all direct
event struct access with getters.
As a side-effect, this drops some unused getters.
|
|
|
|
|
| |
Events are refcounted structs, and we generally don't
pass these as const.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
Remove all the old 2.x and 3.x version annotations.
GTK+ 4 is a new start, and from the perspective of a
GTK+ 4 developer all these APIs have been around since
the beginning.
|
| |
|
|
|
|
| |
To some extent, pad and touchpad gesture events need extra API.
|
|
|
|
|
|
| |
Always have Since: annotations at the very bottom, use the correct
ClassName::signal-name/ClassName:property-name syntax, fix a few typos
in type names, wrong function names, non-existing type names, etc.
|
|
|
|
| |
This avoids pointless allocations
|
|
|
|
|
| |
These will only trigger the gesture if it's been created with
the same GtkGesture::n-points than n_fingers in the event.
|
|
|
|
|
|
|
|
|
| |
gtk_gesture_drag_get_start_point and gtk_gesture_drag_get_offset
have out args that need to be annotated.
This commit adds the (out) and (nullable) annotations as appropriate.
https://bugzilla.gnome.org/show_bug.cgi?id=734292
|
|
|
|
|
|
| |
This prevents some of our generic object implementation tests
from working with gesture objects. Instead, add g_return_if_fail
checks in all the gesture constructors.
|
| |
|
| |
|
|
|
|
|
| |
For now, at least. We do this by hiding the instance and
class structures in private headers.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It is generally more useful to get offsets right away,
than having to calculate those from the start point.
|
| |
|
|
This gesture interprets and reports drags as an offset to the drag
start point.
|