Gtk.get_current_event_time

If there is a current event and it has a timestamp, return that timestamp, otherwise return %GDK_CURRENT_TIME. or %GDK_CURRENT_TIME.