XSetWindowD 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]

XSetWindowBackground()					XSetWindowBackground()

Name
  XSetWindowBackground	–  set	the background pixel value attribute of a
  window.

Synopsis
  XSetWindowBackground(display, w, background_pixel)
	Display *display;
	Window w;
	unsigned long background_pixel;

Arguments
  display  Specifies a connection to an X server; returned from XOpenDis‐
	   play().

  w	   Specifies the window ID.  Must be an InputOutput window.

  background_pixel
	   Specifies  which  entry  in	the colormap is used as the back‐
	   ground color.  The constant CopyFromParent is NOT valid.

Description
  XSetWindowBackground() sets the background attribute of a window,  set‐
  ting the pixel value to be used to fill the background.  This overrides
  any previous	call  to  XSetWindowBackground	or  XSetWindowBackground‐
  Pixmap() on the same window.

  XSetWindowBackground()  does	not  change  the  current window contents
  immediately.	The background is automatically	 repainted  after  Expose
  events.   You	 can  also redraw the background without Expose events by
  calling XClearWindow() immediately after.

  For more information, see Volume One, Chapter 4, Window Attributes.

Errors
  BadMatch  Setting background of InputOnly window.

  BadWindow

See Also
  XChangeWindowAttributes(),   XGetGeometry(),	  XGetWindowAttributes(),
  XSetWindowBackgroundPixmap(),	  XSetWindowBorder(),	XSetWindowBorder‐
  Pixmap().

Xlib - Window Attributes				XSetWindowBackground()
[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