GDK.GC set_function(int fun)
Set the function to the specified one. One of GDK.Xor, GDK.Invert and GDK.Copy.