Learn R Programming

RGtk2 (version 2.20.31)

gtkGcGet: gtkGcGet

Description

Gets a GdkGC with the given depth, colormap and GdkGCValues. If a GdkGC with the given properties already exists then it is returned, otherwise a new GdkGC is created. The returned GdkGC should be released with gtkGcRelease when it is no longer needed.

Usage

gtkGcGet(depth, colormap, values)

Arguments

depth
the depth of the GdkGC to create.
colormap
the GdkColormap (FIXME: I don't know why this is needed).
values
a GdkGCValues struct containing settings for the GdkGC.

Value

GdkGC] a GdkGC.