XSetSizeHints(3X11) XSetSizeHints(3X11)
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
display Specifies the connection to the XWIN server.
hints Specifies a pointer to the size hints.
hints_return
Returns the size hints.
property Specifies the property name.
w Specifies the window.
DESCRIPTION
The XSetSizeHints function sets the XSizeHints structure for
the named property and the specified window. This is used
by XSetNormalHints and XSetZoomHints, and can be used to set
the value of any property of type WM_SIZE_HINTS. Thus, it
may be useful if other properties of that type get defined.
XSetSizeHints can generate BadAlloc, BadAtom, and BadWindow
errors.
XGetSizeHints returns the XSizeHints structure for the named
property and the specified window. This is used by XGetNor-
malHints and XGetZoomHints. It also can be used to retrieve
the value of any property of type WM_SIZE_HINTS. Thus, it
may be useful if other properties of that type get defined.
XGetSizeHints returns a nonzero status if a size hint was
defined or zero otherwise.
XGetSizeHints can generate BadAtom and BadWindow errors.
DIAGNOSTICS
BadAlloc The server failed to allocate the requested
resource or server memory.
XWIN 3.0 Last change: 9/1/88 .ie t
XSetSizeHints(3X11) XSetSizeHints(3X11)
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(3X11),
XSetCommand(3X11),
XSetIconName(3X11),
XSetIconSizeHints(3X11),
XSetNormalHints(3X11),
XSetStandardProperties(3X11),
XSetTransientForHint(3X11),
XSetWMHints(3X11),
XSetZoomHints(3X11),
XStoreName(3X11)
Xlib - C Language X Interface
XWIN 3.0 Last change: 9/1/88 .ie t
XSetSizeHints(3X11) XSetSizeHints(3X11)
XWIN 3.0 Last change: 9/1/88 .ie t