1Gtk2::GC(3)           User Contributed Perl Documentation          Gtk2::GC(3)
2
3
4

NAME

6       Gtk2::GC
7

DESCRIPTION

9       These functions provide access to a shared pool of Gtk2::Gdk::GC
10       objects. When a new Gtk2::Gdk::GC is needed, Gtk2::Gdk::GC::get is
11       called with the required depth, colormap and Gtk2::Gdk::GCValues. If a
12       Gtk2::Gdk::GC with the required properties already exists then that is
13       returned. If not, a new Gtk2::Gdk::GC is created. When the
14       Gtk2::Gdk::GC is no longer needed, Gtk2::Gdk::GC::release should be
15       called.
16
17       [From: <http://developer.gnome.org/doc/API/2.0/gtk/gtk-Graphics-Con
18       texts.html>]
19

METHODS

21       gc = Gtk2::GC->get ($depth, $colormap, $values)
22
23           * $depth (integer)
24           * $colormap (Gtk2::Gdk::Colormap)
25           * $values (scalar)
26
27       Gtk2::GC->release ($gc)
28
29           * $gc (Gtk2::Gdk::GC)
30

SEE ALSO

32       Gtk2
33
35       Copyright (C) 2003-2007 by the gtk2-perl team.
36
37       This software is licensed under the LGPL.  See Gtk2 for a full notice.
38
39
40
41perl v5.8.8                       2007-03-18                       Gtk2::GC(3)
Impressum