gtk-Graphics-Contexts: Graphics Contexts

Description Methods and Functions Detailed Description Author(s) References

Description

A shared pool of GdkGC objects

Methods and Functions

gtkGcGet(depth, colormap, values)
gtkGcRelease(gc)

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.

Author(s)

Derived by RGtkGen from GTK+ documentation

References

https://developer.gnome.org/gtk2/stable/gtk2-Graphics-Contexts.html


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.