hpux man page for xtdestroygc

Query: xtdestroygc

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XtDestroyGC()															     XtDestroyGC()

Name
  XtDestroyGC - Release 2 compatible function to free read-only GCs.

Synopsis
  void XtDestroyGC(w, gc)
	 Widget w;
	 GC gc;

Inputs
  w	    Specifies any object on the display for which the GC was created.

  gc	    Specifies the GC to be deallocated.

Availability
  XtDestroyGC() is superseded by XtReleaseGC().

Description
  XtDestroyGC()  deallocates  a shared (read-only) Graphics Context.  References to sharable GCs are counted, and a free request is generated
  to the server when the last user of a given GC destroys it.

  Note that some earlier versions of XtDestroyGC() had only a gc argument.  Therefore, this function is  not  very  portable.	In  addition,
  XtDestroyGC() is only guaranteed to work properly if there is exactly one open display in the application.

Usage
  You should never use this function.  Programs running under Release 3 and later should be converted to use XtReleaseGC().

See Also
  XtAllocateGC(1), XtGetGC(1), XtReleaseGC(1).

Xt - Graphics Context														     XtDestroyGC()
Related Man Pages
xtallocategc(3) - x11r4
xsetlineattributes(3) - hpux
xtungrabkeb(3) - hpux
destroy(3) - hpux
xtgetgc(1) - hpux
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
How to extract every repeated string between two specific string?
awk - Multi-line data to be stored in variable
Seeking Alternative for diff in hp
Shopt -s histappend