Unix/Linux Go Back    

X11R7.4 - man page for xtgetgc (x11r4 section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

XtGetGC(3)				   XT FUNCTIONS 			       XtGetGC(3)

       XtGetGC, XtReleaseGC - obtain and destroy a sharable GC

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

       void XtReleaseGC(Widget w, GC gc);

       gc	 Specifies the GC to be deallocated.

       values	 Specifies the actual values for this GC.

		 Specifies which fields of the values are specified.

       w	 Specifies the widget.

       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

       The XtReleaseGC function deallocate the specified shared GC.

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

X Version 11				   libXt 1.0.5				       XtGetGC(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 04:05 AM.