Query: xallocclasshint
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XAllocClassHint() XAllocClassHint()
Name
XAllocClassHint - allocate an XClassHint structure.
Synopsis
XClassHint *XAllocClassHint( )
Returns
The allocated structure.
Availability
Release 4 and later.
Description
XAllocClassHint() allocates and returns a pointer to an XClassHint structure, for use in calling XSetWMProperties(), XGetClassHint(), or
XSetClassHint(). Note that the pointer fields in the XClassHint structure are initially set to NULL. If insufficient memory is available,
XAllocClassHint() returns NULL. To free the memory allocated to this structure, use XFree().
The purpose of this function is to avoid compiled-in structure sizes, so that object files will be binary compatible with later releases
that may have new members added to structures.
For more information, see Volume One, Chapter 12, Interclient Communication.
Structures
typedef struct {
char *res_name;
char *res_class;
} XClassHint;
See Also
XGetClassHint(), XSetClassHint(), XSetWMProperties().
Xlib - Window Manager Hints XAllocClassHint()
| Related Man Pages |
|---|
| xgetclasshint(3) - debian |
| xallocclasshint(3) - centos |
| xallocclasshint(3x11) - osf1 |
| xclasshint(3x11) - osf1 |
| xgetclasshint(3x11) - osf1 |
| Similar Topics in the Unix Linux Community |
|---|
| Xlib simple program. |
| Warning for megane16v: Bumping Up Posts |
| Xlib registering |