# Class GTK2.GdkGC

Inheritance graph

Description

  A GC, or Graphics Context, is used for most low-level drawing operations.

  As an example, the foreground color, background color, and drawing function is stored in the GC.

  NOIMG

Inherit Object

  `inherit G.Object : Object`

Method create

  `GTK2.GdkGC GTK2.GdkGC(`GTK2.Widget` `context`, `mapping`|`void` `attributes`)`

Description

  The argument is either a W(Widget) or a GDK2(Drawable) in which the gc will be valid.