Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSeWMHs(3X) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XSetClassHint(3X)

XSetCommand(3X)

XSetIconName(3X)

XSetIconSizeHints(3X)

XSetNormalHints(3X)

XSetSizeHints(3X)

XSetStandardProperties(3X)

XSetTransientForHint(3X)

XSetZoomHints(3X)

XStoreName(3X)

XSetWMHints(3X)  —  X Version 11

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

displaySpecifies the connection to the X server. 

wSpecifies the window ID. 

wmhintsSpecifies 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. .PN XSetWMHints can generate BadAlloc and BadWindow errors.

The XGetWMHints function reads the value of the window manager hints atom and returns either NULL if it fails (for example, if no WM_HINTS property was set on window w) or a pointer to a XWMHints structure if it succeeds. .PN 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(3X), XSetCommand(3X), XSetIconName(3X), XSetIconSizeHints(3X), XSetNormalHints(3X), XSetSizeHints(3X), XSetStandardProperties(3X), XSetTransientForHint(3X), XSetZoomHints(3X), XStoreName(3X)
Xlib − C Language X Interface

1 March 1988

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