GC.copy

Warning gdk_gc_copy has been deprecated since version 2.22 and should not be used in newly-written code. Use Cairo for drawing. cairo_save() and cairo_restore() can be helpful in cases where you'd have copied a GdkGC. Copy the set of values from one graphics context onto another graphics context.

class GC
void
copy

Parameters

srcGc GC

the source graphics context.

Meta