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

NAME

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

SYNTAX

9       GC XtGetGC(Widget w, XtGCMask value_mask, XGCValues *values);
10
11       void XtReleaseGC(Widget w, GC gc);
12

ARGUMENTS

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

DESCRIPTION

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

SEE ALSO

38       X Toolkit Intrinsics - C Language Interface
39       Xlib - C Language X Interface
40
41
42
43X Version 11                      libXt 1.1.5                       XtGetGC(3)
Impressum