Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtReleaseGC(3x) — HP-UX ANSI C A.09.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAllocateGC(1)

XtGetGC(1)

 

NAME

XtReleaseGC − deallocate a shared GC when it is no longer needed. 

Synopsis

void XtReleaseGC(object, gc)

    Widget object;
    GC gc;

Inputs

objectSpecifies any object on the display for which the GC was created; may be of class Object or any subclass thereof. 

gcSpecifies the GC to be deallocated. 

Description

XtReleaseGC() deallocates a shared GC allocated with XtGetGC() or XtAllocateGC().  The Intrinsics maintain a reference count on all shared GCs and call XFreeGC() when the last user of a GC releases it. 

See Also

XtAllocateGC(1), XtGetGC(1). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026