xosd_create(3)

xosd_create3

Create a new xosd object

Usage

#include <xosd.h>

xosd *xosd_create (int number_lines);

Overview

xosd_init creates a new xosd window that can be used to display textual or numerical data on a X11 display in a unmanaged, shaped window that appears to be transparent. It provides a similar effect to the on-screen display of many televisions and video recorders.

Arguments

number_lines

The maximum number of lines of text that the window can display. This value cannot be changed.

Return value

On success a pointer to a new xosd object is returned, otherwise NULL is returned.

Environment

DISPLAY

The environment variable that determines which X11 display the XOSD window appears.

char *xosd_error

A string to a text string describing the error.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1–6.0
  2. 7–13
  3. Arch

History

The xosd_create function first appeared in version 2.0 of the XOSD library, replacing the now depricated xosd_init function.

Authors

The XOSD library was originally written by André Renaud, and is currenly maintained by Tim Wright. This document was written by Michael JasonSmith.

Bugs

There are no known bugs with xosd_create. Bug reports can be sent to <[email protected]>.

From xosd 2.2.14-12 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.