Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSContext(3X) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XSaveContext(3X)  —  X Version 11

NAME

XSaveContext, XFindContext, XDeleteContext, XUniqueContext − manipulate the context manager

SYNTAX

int XSaveContext(display, w, context, data)
      Display ∗display;
      Window w;
      XContext context;
      caddr_t data;

int XFindContext(display, w, context, data_return)
      Display ∗display;
      Window w;
      XContext context;
      caddr_t ∗data_return;

int XDeleteContext(display, w, context)
      Display ∗display;
      Window w;
      XContext context;

XContext XUniqueContext()

ARGUMENTS

contextSpecifies the context type to which the data belongs. 

dataSpecifies the data to be associated with the window and type. 

data_returnReturns a pointer to the data. 

displaySpecifies the connection to the X server. 

wSpecifies the window with which the data is associated. 

DESCRIPTION

The XSaveContext function saves a data value that corresponds to a window and context type.

The XFindContext function gets the data associated with a window and type.

The XDeleteContext function deletes an entry for a given window and type.

The XUniqueContext function creates a unique context type that may be used in subsequent calls to XSaveContext.

SEE ALSO

Xlib − C Language X Interface

1 March 1988

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