The documentation sais [1]
guint32 time; the time of the event in milliseconds.
Relative to what?
- The time since latest event
- Process lifetime
- System boot time
I need to know the time when a key was hit.
[1] https://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html#GdkEventKey