GCs.get

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 gtk_gc_release() when it is no longer needed.

Parameters

depth int

the depth of the GdkGC to create.

colormap Colormap

the GdkColormap (FIXME: I don't know why this is needed).

values GdkGCValues*

a GdkGCValues struct containing settings for the GdkGC.

valuesMask GdkGCValuesMask

a set of flags indicating which of the fields in values has been set.

Return Value

Type: GC

a GdkGC.

Meta