NAME
XAllocIconSize − allocate an XIconSize structure.
Synopsis
XIconSize *XAllocIconSize()
Availability
Release 4 and later.
Description
XAllocIconSize() allocates and returns a pointer to an XIconSize structure, for use in calling XGetIconSizes() or XSetIconSizes(). Note that all fields in the XIconSize structure are initially set to zero. If insufficient memory is available, XAllocIconSize() 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 10, Interclient Communication.
Structures
typedef struct {
int min_width, min_height;
int max_width, max_height;
int width_inc, height_inc;
} XIconSize;
See Also
XGetIconSizes(), XSetIconSizes().
Copyright O’Reilly & Assoc. —