gtk-Graphics-Contexts: Graphics Contexts

Description Methods and Functions Detailed Description Author(s) References


A shared pool of GdkGC objects

Methods and Functions

gtkGcGet(depth, colormap, values)

Detailed Description

These functions provide access to a shared pool of GdkGC objects. When a new GdkGC is needed, gtkGcGet is called with the required depth, colormap and GdkGCValues. If a GdkGC with the required properties already exists then that is returned. If not, a new GdkGC is created. When the GdkGC is no longer needed, gtkGcRelease should be called.


Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Jan. 26, 2018, 1:32 a.m.