Amiga Unix — 68040 · 68060

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

XSeClassH(3X)

set or get class hint

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

NAME

XSetClassHint, XGetClassHint - set or get class hint

SYNTAX

XSetClassHint(display, w, class_hints)
      Display *display;
      Window w;
      XClassHint *class_hints;

Status XGetClassHint(display, w, class_hints_return)
      Display *display;
      Window w;
      XClassHint *class_hints_return;

ARGUMENTS

class_hints

Specifies a pointer to a XClassHint structure that is to be used.

class_hints_return

Returns the XClassHint structure.

display   Specifies the connection to the XWIN server.

w         Specifies the window.

DESCRIPTION

The XSetClassHint function sets the class hint for the
specified window.

XSetClassHint can generate BadAlloc and BadWindow errors.

The XGetClassHint function returns the class of the specified window. To free res_name and res_class when finished with the strings, use XFree.

XGetClassHint can generate a BadWindow error.

PROPERTY

WM_CLASS

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

     XSetCommand(3X11),
     XSetIconName(3X11),
     XSetIconSizeHints(3X11),

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

     XSetNormalHints(3X11),
     XSetSizeHints(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

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