XtGetGC.man revision 444c061a
$Xorg: XtGetGC.man,v 1.3 2000/08/17 19:42:00 cpqbld Exp $
Copyright 1993 X Consortium
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of the X Consortium shall
not be used in advertising or otherwise to promote the sale, use or
other dealings in this Software without prior written authorization
from the X Consortium.
$XFree86: xc/doc/man/Xt/XtGetGC.man,v 1.2 2001/01/27 18:20:26 dawes Exp $
Copyright 1993 X Consortium
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of the X Consortium shall
not be used in advertising or otherwise to promote the sale, use or
other dealings in this Software without prior written authorization
from the X Consortium.
$XFree86: xc/doc/man/Xt/XtGetGC.man,v 1.2 2001/01/27 18:20:26 dawes Exp $
.\\$1D \\$2 \\$1 .if \\n(VS>=40 .vs \\n(VSu..
.if \\n(VS<=39 .vs \\n(VSp
..0 .nr BD 0
.KS .TA .5i 3i
...KE
.. .. .KS
.D
choose appropriate monospace font
the imagen conditional, 480,
may be changed to L if LB is too
heavy for your eyes...
.. .R .. .. .. .TB\\*(NO .R .. . \" Note End -- doug kraft 3/85
0 .. .ny0
XtGetGC __libmansuffix__ __xorgversion__ "XT FUNCTIONS"NAMEXtGetGC, XtReleaseGC - obtain and destroy a sharable GCSYNTAXGC XtGetGC(Widget w, XtGCMask value_mask, XGCValues *values);
void XtReleaseGC(Widget w, GC gc);
ARGUMENTSgc 1iSpecifies the GC to be deallocated.values 1iSpecifies the actual values for this GC.value_mask 1iSpecifies which \*(Vm.w 1iSpecifies the widget.DESCRIPTIONThe .ZN XtGetGC function returns a sharable, read-only GC. The parameters to this function are the same as those for .ZN XCreateGC except that a widget is passed instead of a display. .ZN XtGetGC shares only GCs in which all values in the GC returned by .ZN 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 .ZN XCreateGC in the \*(xL.The .ZN XtReleaseGC function deallocate the specified shared GC.
"SEE ALSO"\*(xT
\*(xL