1XtGetGC(3)                       XT FUNCTIONS                       XtGetGC(3)
2
3
4

NAME

6       XtGetGC, XtReleaseGC - obtain and destroy a sharable GC
7

SYNTAX

9       #include <X11/Intrinsic.h>
10
11       GC XtGetGC(Widget w, XtGCMask value_mask, XGCValues *values);
12
13       void XtReleaseGC(Widget w, GC gc);
14

ARGUMENTS

16       gc        Specifies the GC to be deallocated.
17
18       values    Specifies the actual values for this GC.
19
20       value_mask
21                 Specifies which fields of the values are specified.
22
23       w         Specifies the widget.
24

DESCRIPTION

26       The XtGetGC function returns a sharable, read-only GC.  The parameters
27       to this function are the same as those for XCreateGC except that a wid‐
28       get is passed instead of a display.  XtGetGC shares only GCs in which
29       all values in the GC returned by XCreateGC are the same.  In particu‐
30       lar, it does not use the value_mask provided to determine which fields
31       of the GC a widget considers relevant.  The value_mask is used only to
32       tell the server which fields should be filled in with widget data and
33       which it should fill in with default values.  For further information
34       about value_mask and values, see XCreateGC in the Xlib - C Language X
35       Interface.
36
37       The XtReleaseGC function deallocate the specified shared GC.
38

SEE ALSO

40       X Toolkit Intrinsics - C Language Interface
41       Xlib - C Language X Interface
42
43
44
45X Version 11                     libXt 1.1.5.1                      XtGetGC(3)
Impressum