XtGetDisplays(3)

XtGetDisplays3

Retrieve a list of displays associated with an application context

Usage

#include <X11/Intrinsic.h>

void XtGetDisplays(XtAppContext app_context, Display ***dpy_return, Cardinal* num_dpy_return);

Arguments

app_context

Specifies the application context.

dpy_return

Returns a list of open X display connections in the specified application context.

num_dpy_return

Returns the count of open X display connections in dpy_return.

Overview

To free the list of displays, use XtFree.

Releases

11 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11
  8. 12–13
  9. Arch

From libxt 1.3.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.