gdk3: extract a file for Cairo module
gdk3: use define_method for Cairo Interaction methods

See https://developer.gnome.org/gdk3/stable/gdk3-Cairo-Interaction.html