Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ AllcSzeHint(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

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 10, 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 Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026