osf1 man page for xtgetgc

Query: xtgetgc

OS: osf1

Section: 3xt

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XtGetGC(3Xt)															      XtGetGC(3Xt)

NAME
XtGetGC, XtReleaseGC - obtain and destroy a sharable GC
SYNOPSIS
GC XtGetGC(w, value_mask, values) Widget w; XtGCMask value_mask; XGCValues *values; void XtReleaseGC(w, gc) Widget w; GC gc;
ARGUMENTS
Specifies the GC to be deallocated. Specifies the actual values for this GC. Specifies which fields of the values are specified. Speci- fies 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 par- ticular, 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 XtGetGC(3Xt)
Related Man Pages
xtallocategc(3) - centos
xtallocategc(3) - suse
xtallocategc(3) - hpux
destroy(4) - hpux
xtallocategc(1) - hpux
Similar Topics in the Unix Linux Community
Throw my Toys out of the Pram!
Low Impact PHP Errors and Logging Levels
PHP Write Man Pages to MySQL DB