Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XSetClassHint(3X11)

XSetCommand(3X11)

XSetIconName(3X11)

XSetIconSizeHints(3X11)

XSetNormalHints(3X11)

XSetSizeHints(3X11)

XSetStandardProperties(3X11)

XSetTransientForHint(3X11)

XSetWMHints(3X11)

XStoreName(3X11)

XSetZoomHints(3X11)  —  X Version 11 (1 September 1988)

NAME

XSetZoomHints, XGetZoomHints − set or get zoom state hints

SYNTAX

XSetZoomHints(display, w, zhints)
      Display ∗display;
      Window w;
      XSizeHints ∗zhints;

Status XGetZoomHints(display, w, zhints_return)
      Display ∗display;
      Window w;
      XSizeHints ∗zhints_return;

ARGUMENTS

displaySpecifies the connection to the X server. 

wSpecifies the window. 

zhintsSpecifies a pointer to the zoom hints. 

zhints_return
Returns the zoom hints.

DESCRIPTION

Many window managers think of windows in one of three states: iconic, normal, or zoomed.  The XSetZoomHints function provides the window manager with information for the window in the zoomed state.

.PN XSetZoomHints can generate BadAlloc and BadWindow errors.

The XGetZoomHints function returns the size hints for a window in its zoomed state. It returns a nonzero status if it succeeds or zero if the application specified no zoom size hints for this window.

.PN XGetZoomHints can generate a BadWindow error.

PROPERTY

WM_ZOOM_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(3X11), XSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetNormalHints(3X11), XSetSizeHints(3X11), XSetStandardProperties(3X11), XSetTransientForHint(3X11), XSetWMHints(3X11), XStoreName(3X11)
Xlib − C Language X Interface

September 29, 2021

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