XSetBackground man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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  XSetWindowBackground‐
  Pixmap().

  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(),  XGCon‐
  textFromGC(),	 XSetArcMode(),	 XSetClipMask(),  XSetClipOrigin(), XSet‐
  ClipRectangles(), XSetDashes(), XSetFillRule(), XSetFillStyle(),  XSet‐
  Foreground(),	  XSetFunction(),   XSetGraphicsExposures(),  XSetLineAt‐
  tributes(), XSetPlaneMask(), XSetState(), XSetStipple(), XSetSubwindow‐
  Mode(), XSetTSOrigin().

Xlib - Graphics Context					      XSetBackground()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net