hpux man page for xsetbackground

Query: xsetbackground

OS: hpux

Section: 3

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

XSetBackground()														  XSetBackground()

Name
  XSetBackground - set the background pixel value in a graphics context.

Synopsis
  XSetBackground(display, gc, background)
	Display *display;
	GC gc;
	unsigned long background;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  gc	    Specifies the graphics context.

  background
	    Specifies the background component of the GC.

Description
  XSetBackground() sets the background pixel value component of a GC.  Note that this is different from the background of a window, which can
  be set with either XSetWindowBackground() or XSetWindowBackgroundPixmap().

  The specified pixel value must be returned by BlackPixel(), WhitePixel(), or one of the routines that allocate colors.

Errors
  BadAlloc
  BadGC

See Also
  XDefaultGC(), XChangeGC(), XCopyGC(), XCreateGC(), XFreeGC(), XGContextFromGC(),  XSetArcMode(),  XSetClipMask(),  XSetClipOrigin(),	XSet-
  ClipRectangles(),  XSetDashes(),  XSetFillRule(),  XSetFillStyle(),  XSetForeground(), XSetFunction(), XSetGraphicsExposures(), XSetLineAt-
  tributes(), XSetPlaneMask(), XSetState(), XSetStipple(), XSetSubwindowMode(), XSetTSOrigin().

Xlib - Graphics Context 													  XSetBackground()
Related Man Pages
xsetplanemask(3x11) - redhat
xsetbackground(3x11) - redhat
xsetstate(3x11) - redhat
xsetfunction(3) - x11r4
xsetlineattributes(3) - hpux
Similar Topics in the Unix Linux Community
How to list file size on HPUX?
PHP Man Pages Now Available (Over 10,000)
How to extract every repeated string between two specific string?
Seeking Alternative for diff in hp
Tar Command