/* * Copyright (c) 2003 by the gtk2-perl team (see the file AUTHORS) * * Licensed under the LGPL, see LICENSE file for more information. * * $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/Gtk2/xs/GtkGC.xs,v 1.1 2004/04/19 19:20:51 kaffeetisch Exp $ */ #include "gtk2perl.h" MODULE = Gtk2::GC PACKAGE = Gtk2::GC PREFIX = gtk_gc_ =for position DESCRIPTION =head1 DESCRIPTION These functions provide access to a shared pool of L objects. When a new L is needed, I is called with the required depth, colormap and I. If a L with the required properties already exists then that is returned. If not, a new L is created. When the L is no longer needed, I should be called. [From: L] =cut ## GdkGC * gtk_gc_get (gint depth, GdkColormap *colormap, GdkGCValues *values, GdkGCValuesMask values_mask) GdkGC * gtk_gc_get (class, depth, colormap, values) gint depth GdkColormap *colormap SV *values PREINIT: GdkGCValues v; GdkGCValuesMask m; CODE: SvGdkGCValues (values, &v, &m); RETVAL = gtk_gc_get (depth, colormap, &v, m); OUTPUT: RETVAL ## void gtk_gc_release (GdkGC *gc) void gtk_gc_release (class, gc) GdkGC *gc C_ARGS: gc