Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XmuDQCreate — creates an empty display queue. 

SYNOPSIS

#include <X11/Xmu/DisplayQue.h>

XmuDisplayQueue ∗XmuDQCreate(closefunc, freefunc, data)
      int(∗closefunc)();
      int(∗freefunc)();
      caddr_t data;

ARGUMENTS

closefuncSpecifies the close function. 

freefuncSpecifies the free function. 

dataSpecifies private data for the functions. 

DESCRIPTION

XmuDQCreate creates and returns an empty XmuDisplayQueue (which is really just a set of displays, but is called a queue for historical reasons).  The queue is initially empty, but displays can be added using XmuAddDisplay.  The data value is simply stored in the queue for use by the display close and free callbacks.  Whenever a display in the queue is closed using XCloseDisplay(), the display close callback (if non-NULL) is called with the queue and the display’s XmuDisplayQueueEntry as follows:  (∗closefunc)(queue, entry) The free callback (if non-NULL) is called whenever the last display in the queue is closed, as follows:  (∗freefunc)(queue) The application is responsible for actually freeing the queue, by calling XmuDQDestroy. 

SEE ALSO

XmuDQAddDisplay, XmuDQDestroy, XmuDQLookupDisplay, XmuDQNDisplays, XmuDQRemoveDisplay. 

Xlib Reference Manual

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