XSetClassHint(3X11) COMMAND REFERENCE XSetClassHint(3X11)
NAME
XSetClassHint, XGetClassHint - set or get class hint
SYNOPSIS
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 X 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), XSetNormalHints(3x11),
XSetSizeHints(3x11), XSetStandardProperties(3x11),
X Version 11 1 September 1988 1
XSetClassHint(3X11) COMMAND REFERENCE XSetClassHint(3X11)
XSetTransientForHint(3x11), XSetWMHints(3x11),
XSetZoomHints(3x11), XStoreName(3x11)
Xlib - C Language X Interface
X Version 11 1 September 1988 2
%%index%%
na:528,104;
sy:632,1032;
de:1664,753;
di:2417,351;
se:2768,1129;
%%index%%000000000098