Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought


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



     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 X 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
          XGetNormalHints 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.

          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(XS), XSetCommand(XS), XSetIconName(XS),
          XSetIconSizeHints(XS), XSetNormalHints(XS),
          XSetStandardProperties(XS), XSetTransientForHint(XS),
          XSetWMHints(XS), XSetZoomHints(XS), XStoreName(XS)
          Xlib - C Language X Interface


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

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