Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

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 10, Interclient Communication. 

STRUCTURES

typedef struct {
    char ∗res_name;
    char ∗res_class; } XClassHint;

SEE ALSO

XGetClassHint(), XSetClassHint(), XSetWMProperties(). 

Xlib Reference Manual

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