Method GTK2.GdkGC()->set_function() Method set_function GDK2.GC set_function(int fun) Description Set the function to the specified one. One of GDK2.Xor, GDK2.Invert and GDK2.Copy.