XSetClassHint(3X) — X Version 11
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
displaySpecifies the connection to the X server.
wSpecifies the window ID.
class_hintsSpecifies a pointer to a XClassHint structure that is to be used.
class_hints_return
Returns the XClassHints structure.
DESCRIPTION
The XSetClassHint functions sets the class hint for the specified window. .PN XSetClassHint can generate BadAlloc and BadWindow errors.
The XGetClassHint function obtains the class of the specified window. .PN 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(3X), XSetIconName(3X), XSetIconSizeHints(3X), XSetNormalHints(3X), XSetSizeHints(3X), XSetStandardProperties(3X), XSetTransientForHint(3X), XSetWMHints(3X), XSetZoomHints(3X), XStoreName(3X)
Xlib − C Language X Interface
1 March 1988