Pike v8.0 release 1738

Class GDK1.GC

Description

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

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

NOIMG


Method create

GDK1.GC GDK1.GC(GTK1.Widget context, mapping|void attributes)

Description

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


Method destroy

GDK1.GC destroy()

Description

Free the gc, called automatically by pike when the object is destroyed.