GC.this

Warning gdk_gc_new_with_values has been deprecated since version 2.22 and should not be used in newly-written code. Use Cairo for rendering. Create a new GC with the given initial values.

  1. this(GdkGC* gdkGC)
  2. this(Drawable drawable)
  3. this(Drawable drawable, GdkGCValues* values, GdkGCValuesMask valuesMask)

Parameters

drawable Drawable

a GdkDrawable. The created GC must always be used with drawables of the same depth as this one.

values GdkGCValues*

a structure containing initial values for the GC.

valuesMask GdkGCValuesMask

a bit mask indicating which fields in values are set.

Throws

ConstructionException GTK+ fails to create the object.

Meta