Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtReleaseGC.3Xt.Z(3Xt) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



XtGetGC(3Xt)                  X11 SDE 5.4R3.00                  XtGetGC(3Xt)


NAME
       XtGetGC, XtReleaseGC - obtain and destroy a sharable GC

SYNTAX
       GC XtGetGC(w, valuemask, values)
             Widget w;
             XtGCMask valuemask;
             XGCValues *values;

       void XtReleaseGC(w, gc)
             Widget w;
             GC gc;

ARGUMENTS
       gc        Specifies the GC to be deallocated.

       values    Specifies the actual values for this GC.

       valuemask
                 Specifies which fields of the values are specified.

       w         Specifies the widget.

DESCRIPTION
       The XtGetGC function returns a sharable, read-only GC.  The
       parameters to this function are the same as those for XCreateGC
       except that a widget is passed instead of a display.  XtGetGC shares
       only GCs in which all values in the GC returned by XCreateGC are the
       same.  In particular, it does not use the value_mask provided to
       determine which fields of the GC a widget considers relevant.  The
       value_mask is used only to tell the server which fields should be
       filled in with widget data and which it should fill in with default
       values.  For further information about value_mask and values, see
       XCreateGC in the Xlib - C Language X Interface.

       The XtReleaseGC function deallocate the specified shared GC.

SEE ALSO
       X Toolkit Intrinsics - C Language Interface
       Xlib - C Language X Interface

















Licensed material--property of copyright holder(s)                         1


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