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)

XSetStandardProperties(3x11)

XSetTransientForHint(3x11)

XSetWMHints(3x11)

XSetZoomHints(3x11)

XStoreName(3x11)



XSetSizeHints(3X11)     COMMAND REFERENCE     XSetSizeHints(3X11)



NAME
     XSetSizeHints, XGetSizeHints - set or get window size hints

SYNOPSIS
     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.




X Version 11            1 September 1988                        1





XSetSizeHints(3X11)     COMMAND REFERENCE     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











































X Version 11            1 September 1988                        2



%%index%%
na:528,111;
sy:639,1030;
de:1669,1373;
di:3042,1055;
se:4097,515;
%%index%%000000000099

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