| GTK+ Reference Manual | ||||
|---|---|---|---|---|
#include <gtk/gtk.h>GdkGC * gtk_gc_get (gint depth,GdkColormap *colormap,GdkGCValues *values,GdkGCValuesMask values_mask);void gtk_gc_release (GdkGC *gc);
These functions provide access to a shared pool of gtk_gc_get() is called with the required depth,
colormap and gtk_gc_release() should be called.
GdkGC * gtk_gc_get (gint depth,GdkColormap *colormap,GdkGCValues *values,GdkGCValuesMask values_mask);
Gets a gtk_gc_release() when it is no
longer needed.
depth : |
the depth of the |
colormap : |
the |
values : |
a |
values_mask : |
a set of flags indicating which of the fields in values has
been set.
|
| Returns : | a |
void gtk_gc_release (GdkGC *gc);
Releases a gtk_gc_get().
gc : |
a |