| 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.
|
the depth of the |
|
the |
|
a |
|
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().
|
a |