GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gtk2::GC(3) User Contributed Perl Documentation Gtk2::GC(3)

Gtk2::GC

These functions provide access to a shared pool of Gtk2::Gdk::GC objects. When a new Gtk2::Gdk::GC is needed, Gtk2::Gdk::GC::get is called with the required depth, colormap and Gtk2::Gdk::GCValues. If a Gtk2::Gdk::GC with the required properties already exists then that is returned. If not, a new Gtk2::Gdk::GC is created.

[From: <http://developer.gnome.org/doc/API/2.0/gtk/gtk-Graphics-Contexts.html>]

  Glib::Object
  +----Gtk2::Gdk::GC
       +----Gtk2::GC

  • $depth (integer)
  • $colormap (Gtk2::Gdk::Colormap)
  • $values (Gtk2::Gdk::GCValues) Values to match

$values is a hashref with keys and values as per "Gtk2::Gdk::GC->new" (see Gtk2::Gdk::GC).

Before version 1.200 of the Gtk2 perl module, it was necessary to call "Gtk2::GC::release()" on GCs obtained from "Gtk2::GC::get()". As of version 1.200, this is no longer necessary; a GC will be released when the last perl reference goes away. Old-style code continues to work, but "Gtk2::GC::release()" is deprecated.

Gtk2

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2022-06-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.