Amiga Unix — 68040 · 68060

Manual pages › X Window and screen libraries (3X)

XSeStandP(3X)

set standard window manager properties

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

XSetStandardProperties - set standard window manager properties

SYNTAX

XSetStandardProperties(display, w, window_name, icon_name,
icon_pixmap, argv,
                        argc, hints)
      Display *display;
      Window w;
      char *window_name;
      char *icon_name;
      Pixmap icon_pixmap;
      char **argv;
      int argc;
      XSizeHints *hints;

ARGUMENTS

argc      Specifies the number of arguments.

argv      Specifies the application's argument list.

display   Specifies the connection to the XWIN server.

hints     Specifies a pointer to the size hints for the win-
          dow in its normal state.

icon_name Specifies the icon name, which should be a null-
          terminated string.

icon_pixmap

Specifies the bitmap that is to be used for the icon or None.

w         Specifies the window.

window_name
          Specifies the window name, which should be a
          null-terminated string.

DESCRIPTION

The XSetStandardProperties function provides a means by
which simple applications set the most essential properties
with a single call.  XSetStandardProperties should be used
to give a window manager some information about your
program's preferences. It should not be used by applications
that need to communicate more information than is possible
with XSetStandardProperties.  (Typically, argv is the argv
array of your main program.)

XSetStandardProperties can generate BadAlloc and BadWindow errors.

XWIN 3.0               Last change: 9/1/88                 .ie t

PROPERTIES

WM_NAME, WM_ICON_NAME, WM_HINTS, WM_COMMAND, and
WM_NORMALHINTS

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),
     XSetTransientForHint(3X11),
     XSetWMHints(3X11),
     XSetZoomHints(3X11),
     XStoreName(3X11)
     Xlib - C Language X Interface

XWIN 3.0               Last change: 9/1/88                 .ie t

XWIN 3.0               Last change: 9/1/88                 .ie t