XSetClassHint(3X11) XSetClassHint(3X11)
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 structure that is to be used.
class_hints_return
Returns the structure.
display Specifies the connection to the X server.
w Specifies the window.
Description
The function sets the class hint for the specified window.
can generate and errors.
The function returns the class of the specified window. To free res_name and res_class when finished with the strings, use
can generate a error.
Property
WM_CLASS
Diagnostics
The server failed to allocate the requested resource or server memory.
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),
XSetTransientForHint(3X11), XSetWMHints(3X11), XSetZoomHints(3X11), XStoreName(3X11)
Guide to the Xlib Library
XSetClassHint(3X11)