XSetSizeHints(3X) — X Version 11
NAME
XSetSizeHints, XGetSizeHints − set or get window size hints
SYNTAX
XSetSizeHints(display, w, hints, property)
Display ∗display;
Window w;
XSizeHints ∗hints;
Atom property;
Status XGetSizeHints(display, w, hints_return, property)
Display ∗display;
Window w;
XSizeHints ∗hints_return;
Atom property;
ARGUMENTS
displaySpecifies the connection to the X server.
hintsSpecifies a pointer to the size hints.
hints_returnReturns the size hints.
propertySpecifies the property atom.
wSpecifies the window ID.
DESCRIPTION
The XSetSizeHints function sets the value of any property of type WM_SIZE_HINTS. .PN XSetSizeHints can generate BadAlloc, BadAtom, and BadWindow errors.
The XGetSizeHints function reads the value of any property of type WM_SIZE_HINTS. .PN XGetSizeHints can generate BadAtom and BadWindow errors.
DIAGNOSTICS
BadAlloc The server failed to allocate the requested resource or server memory.
BadAtom A value for an Atom argument does not name a defined Atom.
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), XSetStandardProperties(3X), XSetTransientForHint(3X), XSetWMHints(3X), XSetZoomHints(3X), XStoreName(3X)
Xlib − C Language X Interface
1 March 1988