[ Previous | Next | Contents | Glossary | Home | Search ]
x11 R6 Technical Reference

XESetCloseDisplay Extension Function

Purpose

Defines a procedure to call when the XCloseDisplay function is called.

Library

Enhanced X-Windows Library (libX11.a)

C Syntax

int (*XESetCloseDisplay(DisplayPtr, Extension, Procedure))()
Display *DisplayPtr;
int Extension;
int (*Procedure)();

Description

The XESetCloseDisplay extension function defines a procedure to call when the XCloseDisplay function is called. This function returns any previously defined procedure, usually the value of Null.

When the XCloseDisplay function is called, it is called with the following syntax:

(*Procedure)(DisplayPtr, Codes);
Display *displayptr;
XExtCodes *codes;

Parameters

DisplayPtr Specifies the connection to the X server.
Extension Specifies the extension number.
Procedure Specifies the function to call when the display device is closed.

Related Information

Using Extensions in AIXwindows in AIX Version 4.3 AIXwindows Programming Guide.

The XCloseDisplay function.

AIXwindows Overview for Programmers in AIX Version 4.3 AIXwindows Programming Guide.


[ Previous | Next | Contents | Glossary | Home | Search ]