Query: xallocsizehints
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XAllocSizeHints() XAllocSizeHints()
Name
XAllocSizeHints - allocate an XSizeHints structure.
Synopsis
XSizeHints *XAllocSizeHints( )
Returns
The allocated structure.
Availability
Release 4 and later.
Description
XAllocSizeHints() allocates and returns a pointer to an XSizeHints structure, for use in calling XSetWMProperties(), XSetWMNormalHints(),
or XGetWMNormalHints(). Note that all fields in the XSizeHints structure are initially set to zero. If insufficient memory is available,
XAllocSizeHints() 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 {
long flags; /* marks which fields in this structure are defined */
int x, y; /* Obsolete */
int width, height; /* Obsolete */
int min_width, min_height;
int max_width, max_height;
int width_inc, height_inc;
struct {
int x; /* numerator */
int y; /* denominator */
} min_aspect, max_aspect;
int base_width, base_height;
int win_gravity;
} XSizeHints;
See Also
XGetWMNormalHints(), XSetWMNormalHints(), XSetWMProperties().
Xlib - Window Manager Hints XAllocSizeHints()
| Related Man Pages |
|---|
| xallocsizehints(3) - debian |
| xallocsizehints(3) - centos |
| xsetwmnormalhints(3) - centos |
| xgetwmnormalhints(3) - hpux |
| xgetwmsizehints(3) - hpux |
| Similar Topics in the Unix Linux Community |
|---|
| Xlib simple program. |
| Warning for megane16v: Bumping Up Posts |
| Xlib registering |