hpux man page for xgetwmhints

Query: xgetwmhints

OS: hpux

Section: 3

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

XGetWMHints()															     XGetWMHints()

Name
  XGetWMHints - read the window manager hints property.

Synopsis
  XWMHints *XGetWMHints(display, w)
	Display *display;
	Window w;

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

  w	   Specifies the ID of the window to be queried.

Returns
  The window manager hints structure.

Description
  This	function  is primarily for window managers.  XGetWMHints() returns NULL if no XA_WM_HINTS property was set on window w, and returns a
  pointer to an XWMHints structure if it succeeds.  Programs must free the space used for that structure by calling XFree().

  For more information on using hints, see Volume One, Chapter 12, Interclient Communication.

Structures
     typedef struct {
	 long flags;	     /* marks which fields in this structure are defined */
	 Bool input;	     /* does application need window manager for input */
	 int initial_state;  /* see below */
	 Pixmap icon_pixmap; /* pixmap to be used as icon */
	 Window icon_window; /* window to be used as icon */
	 int icon_x, icon_y; /* initial position of icon */
	 Pixmap icon_mask;   /* icon mask bitmap */
	 XID window_group;   /* ID of related window group */
	 /* this structure may be extended in the future */
     } XWMHints;

     /* initial state flag: */
     #define DontCareState    0
     #define NormalState      1
     #define ZoomState	      2
     #define IconicState      3
     #define InactiveState    4

Errors
  BadWindow

See Also
  XAllocWMHints(),  XFetchName(),  XGetClassHint(),  XGetIconName(),  XGetIconSizes(),	XGetNormalHints(),  XGetSizeHints(),   XGetTransient-
  ForHint(),  XGetZoomHints(), XSetClassHint(), XSetCommand(), XSetIconName(), XSetIconSizes(), XSetNormalHints(), XSetSizeHints(), XSetTran-
  sientForHint(), XSetWMHints(), XSetZoomHints(), XStoreName(), XSetWMProperties().

Xlib - Window Manager Hints													     XGetWMHints()
Related Man Pages
xgetwmhints(3) - debian
xsetwmhints(3) - debian
xgetwmhints(3x11) - ultrix
xgetwmhints(3) - hpux
xallocwmhints(3x11) - osf1
Similar Topics in the Unix Linux Community
Java Desktop Icon - which window manager?
pekwm 0.1.7 (Default branch)
pekwm 0.1.9 (Default branch)
pekwm 0.1.10 (Default branch)
Slimmest Window Manager