Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSeWMH(XS) — OpenDesktop Software Development System 1.0.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought


     X Version 11 (1 September 1988)              XSetWMHints(XS)



     NAME
          XSetWMHints, XGetWMHints - set or get window manager hints


     SYNTAX
          XSetWMHints(display, w, wmhints)
                Display *display;
                Window w;
                XWMHints *wmhints;


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


     ARGUMENTS
          display   Specifies the connection to the X server.

          w         Specifies the window.

          wmhints   Specifies a pointer to the window manager hints.


     DESCRIPTION
          The XSetWMHints function sets the window manager hints that
          include icon information and location, the initial state of
          the window, and whether the application relies on the window
          manager to get keyboard input.

          XSetWMHints can generate BadAlloc and BadWindow errors.

          The XGetWMHints function reads the window manager hints and
          returns NULL if no WM_HINTS property was set on the window
          or a pointer to a XWMHints structure if it succeeds.  When
          finished with the data, free the space used for it by
          calling XFree.

          XGetWMHints can generate a BadWindow error.


     PROPERTY
          WM_HINTS


     DIAGNOSTICS
          BadAlloc  The server failed to allocate the requested
                    resource or server memory.

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


     SEE ALSO
          XSetClassHint(XS), XSetCommand(XS), XSetIconName(XS),
          XSetIconSizeHints(XS), XSetNormalHints(XS),
          XSetSizeHints(XS), XSetStandardProperties(XS),
          XSetTransientForHint(XS), XSetZoomHints(XS), XStoreName(XS)
          Xlib - C Language X Interface


     (printed 2/12/90) (1 September 1988)         XSetWMHints(XS)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026