XSetWindowBorder man page on Ultrix

Printed from http://www.polarhome.com/service/man/?qf=XSetWindowBorder&af=0&tf=2&of=Ultrix

XChangeWindowAttributes(3X11)	     X11R5	 XChangeWindowAttributes(3X11)

NAME
       XChangeWindowAttributes, XSetWindowBackground, XSetWindowBackground‐
       Pixmap, XSetWindowBorder, XSetWindowBorderPixmap, XSetWindowColormap -
       change window attributes

SYNTAX
       XChangeWindowAttributes(display, w, valuemask, attributes)
	     Display *display;
	     Window w;
	     unsigned long valuemask;
	     XSetWindowAttributes *attributes;

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

       XSetWindowBackgroundPixmap(display, w, background_pixmap)
	     Display *display;
	     Window w;
	     Pixmap background_pixmap;

       XSetWindowBorder(display, w, border_pixel)
	     Display *display;
	     Window w;
	     unsigned long border_pixel;

       XSetWindowBorderPixmap(display, w, border_pixmap)
	     Display *display;
	     Window w;
	     Pixmap border_pixmap;

       XSetWindowColormap(display, w, colormap)
	     Display *display;
	     Window w;
	     Colormap colormap;

ARGUMENTS
       attributes
		 Specifies the structure from which the values (as specified
		 by the value mask) are to be taken.  The value mask should
		 have the appropriate bits set to indicate which attributes
		 have been set in the structure.

       background_pixel
		 Specifies the pixel that is to be used for the background.

       background_pixmap
		 Specifies the background pixmap, or

       border_pixel
		 Specifies the entry in the colormap.

       border_pixmap
		 Specifies the border pixmap or

       display	 Specifies the connection to the X server.

       valuemask Specifies which window attributes are defined in the
		 attributes argument.  This mask is the bitwise inclusive OR
		 of the valid attribute mask bits.  If valuemask is zero, the
		 attributes are ignored and are not referenced.

       w	 Specifies the window.

       colormap	 Specifies the colormap.

DESCRIPTION
       Depending on the valuemask, the function uses the window attributes in
       the structure to change the specified window attributes.	 Changing the
       background does not cause the window contents to be changed.  To
       repaint the window and its background, use Setting the border or chang‐
       ing the background such that the border tile origin changes causes the
       border to be repainted.	Changing the background of a root window to or
       restores the default background pixmap.	Changing the border of a root
       window to restores the default border pixmap.  Changing the win-gravity
       does not affect the current position of the window.  Changing the back‐
       ing-store of an obscured window to or or changing the backing-planes,
       backing-pixel, or save-under of a mapped window may have no immediate
       effect.	Changing the colormap of a window (that is, defining a new
       map, not changing the contents of the existing map) generates a event.
       Changing the colormap of a visible window may have no immediate effect
       on the screen because the map may not be installed (see Changing the
       cursor of a root window to restores the default cursor.	Whenever pos‐
       sible, you are encouraged to share colormaps.

       Multiple clients can select input on the same window.  Their event
       masks are maintained separately.	 When an event is generated, it is
       reported to all interested clients.  However, only one client at a time
       can select for and If a client attempts to select any of these event
       masks and some other client has already selected one, a error results.
       There is only one do-not-propagate-mask for a window, not one per
       client.

       can generate and errors.

       The function sets the background of the window to the specified pixel
       value.  Changing the background does not cause the window contents to
       be changed.  uses a pixmap of undefined size filled with the pixel
       value you passed.  If you try to change the background of an window, a
       error results.

       can generate and errors.

       The function sets the background pixmap of the window to the specified
       pixmap.	The background pixmap can immediately be freed if no further
       explicit references to it are to be made.  If is specified, the back‐
       ground pixmap of the window's parent is used, or on the root window,
       the default background is restored.  If you try to change the back‐
       ground of an window, a error results.  If the background is set to the
       window has no defined background.

       can generate and errors.

       The function sets the border of the window to the pixel value you spec‐
       ify.  If you attempt to perform this on an window, a error results.

       can generate and errors.

       The function sets the border pixmap of the window to the pixmap you
       specify.	 The border pixmap can be freed immediately if no further
       explicit references to it are to be made.  If you specify a copy of the
       parent window's border pixmap is used.  If you attempt to perform this
       on an window, a error results.

       can generate and errors.

       The function sets the specified colormap of the specified window.  The
       colormap must have the same visual type as the window, or a error
       results.

       can generate and errors.

DIAGNOSTICS
       A client attempted
		 to free a color map entry that it did not already allocate.

       A client attempted
		 to store into a read-only color map entry.

       A value for a Colormap argument does not name a defined Colormap.

       A value for a Cursor argument does not name a defined Cursor.

       Some argument or pair of arguments has the correct type and range but
       fails
		 to match in some other way required by the request.

       An	 window locks this attribute.

       A value for a Pixmap argument does not name a defined Pixmap.

       Some numeric value falls outside the range of values accepted by the
       request.
		 Unless a specific range is specified for an argument, the
		 full range defined by the argument's type is accepted.	 Any
		 argument defined as a set of alternatives can generate this
		 error.

       A value for a Window argument does not name a defined Window.

SEE ALSO
       XConfigureWindow(3X11), XCreateWindow(3X11), XDestroyWindow(3X11), XIn‐
       stallColormap(3X11), XMapWindow(3X11), XRaiseWindow(3X11), XUnmapWin‐
       dow(3X11)
       Xlib - C Language X Interface

						 XChangeWindowAttributes(3X11)
[top]

List of man pages available for Ultrix

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