XtGetGC, XtReleaseGC − obtain and destroy a sharable GC


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

void XtReleaseGC(Widget w, GC gc);



Specifies the GC to be deallocated.


Specifies the actual values for this GC.


Specifies which fields of the values are specified.


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 Interface.

The XtReleaseGC function deallocate the specified shared GC.


X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface

More Linux Commands

kdeinit4(8) - KDE process launcher - Linux manual page......
kdeinit4 is a process launcher somewhat similar to the famous init used for booting UNIX. It executes KDE programs and kdeinit loadable modules (KLMs) starting

storage.conf(5) - Configuration file for storage manager....
The file pathetc/storage.conf contains the rules to be used in assigning articles to different storage methods. These rules determine where incoming articles wi

FcMatrixRotate(3) - Rotate a matrix - Linux manual page.....
FcMatrixRotate rotates matrix by the angle whos sine is sin and cosine is cos. This is done by multiplying by the matrix: cos -sin sin cos VERSION Fontconfig ve

glob(n) - Return names of files that match patterns.........
This command performs file name globbing in a fashion similar to the csh shell or bash shell. It returns a list of the files whose names match any of the patter

blkdeactivate(8) utility to deactivate block devices........
blkdeactivate utility deactivates block devices. If a device is mounted, the utility can unmount it automatically before trying to deactivate. The utility curre

SDL_Rect(3) - Defines a rectangular area - Linux man page...
A SDL_Rect defines a rectangular area of pixels. It is used by SDL_BlitSurface to define blitting regions and by several other video functions. SEE ALSO SDL_Bli

perlobj(1) - Perl objects (Commands - Linux manual page)....
This document provides a reference for Perls object orientation features. If youre looking for an introduction to object-oriented programming in Perl, please se

pamslice(1) - extract one line of values out of a Netpbm ima
This program is part of Netpbm(1) pamslice extracts one line of tuples (pixels) out of a Netpbm image and prints their values in a table. A line means a row or

inplace(3am) emulate sed perl ruby in-place editing.........
The inplace extension adds two functions named inplace_begin() and inplace_end(). These functions are meant to be invoked from the inplace.awk wrapper (whose co

XPropertyEvent(3) - PropertyNotify event structure (ManPage)
The structure for PropertyNotify events contains: typedef struct { int type; /* PropertyNotify */ unsigned long serial; /* # of last request processed by server

pgmdeshadow(1) - Deshadow a PGM image - Linux manual page...
This program is part of Netpbm(1) pgmdeshadow removes gray shadows from an image. This is useful for an image containing text, such as a scanned book pages, whe

iso_8859-13(7) - ISO 8859-13 character set encoded in octal,
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-13 encodes the characters used in Balti

We can't live, work or learn in freedom unless the software we use is free.