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

XSetWMName()							  XSetWMName()

Name
  XSetWMName – set a window's XA_WM_NAME property.

Synopsis
  void XSetWMName(display, w, text_prop)
	Display *display;
	Window w;
	XTextProperty *text_prop;

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

  w	    Specifies the window.

  text_prop Specifies the XTextProperty structure to be used.

Availability
  Release 4 and later.

Description
  XSetWMName() performs a XSetTextProperty() to set the XA_WM_NAME  prop‐
  erty	on  the	 specified window.  XSetWMName() supersedes XStoreName().
  This property can also be set with XSetWMProperties().

  XSetWMName() should be used by the application to communicate a  string
  to  the  window  manager. According to current conventions, this string
  should either:

  ·  permit the user to identify one of a number of instances of the same
     client, or

  ·  provide the user with noncritical state information.

  Clients  can assume that at least the beginning of this string is visi‐
  ble to the user.

  The XA_WM_CLASS property, on the other  hand,	 has  two  members  which
  should  be  used to identify the application's instance and class name,
  for the lookup of resources.	See XSetClassHint() for details.

  For more information, see Volume One, Chapter 12, Interclient	 Communi‐
  cation.

Structures
     typedef struct {
	 unsigned char *value;		/* same as Property routines */
	 Atom encoding;			/* prop type */
	 int format;			/* prop data format: 8, 16, or 32 */
	 unsigned long nitems;		/* number of data items in value */
     } XTextProperty;

See Also
  XGetWMIconName(), XGetWMName(), XSetWMIconName(), XSetWMProperties().

Xlib - Window Manager Hints					  XSetWMName()
[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