XOSD_CREATE(3)
π XOSD_CREATE π
okay bestie, welcome to the xosd_create(3) page β yes, that's the manual name, we're doing this π
β¨ NAME β¨
xosd_create β make a brand new XOSD object, fresh out the box π
πΈ SYNOPSIS πΈ
#include <xosd.h>
xosd *xosd_create (int number_lines);
π¦ DESCRIPTION π¦
so xosd_init creates a new xosd window, and likeβ¦ it's for showing off textual or numerical data on an X11 display. the vibe? an unmanaged, shaped window that appears to be transparent. it's giving on-screen display energy, like the little overlays on tons of televisions and video recorders. iconic honestly π
π ARGUMENTS π
number_linesβ the max number of lines of text the window can display. and bestie, listen: this value cannot be changed. it's locked in, no takebacks, periodt.
β RETURN VALUE β
if it ate, you get a pointer to a shiny new xosd object π«Ά if it didn't, you get NULL. that's it, that's the whole deal.
π ENVIRONMENT π
DISPLAYβ the environment variable that decides which X11 display the XOSD window shows up on. iykyk.char *xosd_errorβ a string to a text string describing the error. (yes, it says "a string to a text string", we're keeping it exactly like that, no cap π)
π HISTORY π
the xosd_create function first appeared in version 2.0 of the XOSD library, where it replaced the now deprecated xosd_init function. glow-up behavior fr fr β¨
π AUTHORS π
the XOSD library was originally written by AndrΓ© Renaud, and is currently maintained by Tim Wright. this document was written by Michael Jason-Smith. absolute legends, all of them π
π BUGS π
there are no known bugs with xosd_create. zero. none. flawless behavior π
but if you do find something, bug reports can be sent to <xosd@ignavus.net>.
π₯ SEE ALSO π₯
xosd_destroy(3)xosd_show(3)xosd_set_pos(3)xosd_set_align(3)xosd_set_shadow_offset(3)xosd_set_offset(3)xosd_set_timeout(3)xosd_set_colour(3)xosd_set_font(3)xosd_show(3)xosd_scroll(3)
and that's the whole page, bestie π§ go forth and create your xosd objects. mwah π
XOSD_CREATE(3) β that's the footer, aka the source/version and date tag hanging out at the very bottom of the page, and yes we're shouting it out too because it deserves main character energy. bye bestie, slay πβ¨
π¦ where this page comes from
- debian bookworm: libxosd-dev 2.2.14-2.1+b1
- debian trixie: libxosd-dev 2.2.15-1 Β· GPL-2.0-or-later
- ubuntu jammy: libxosd-dev 2.2.14-2.1build1
- ubuntu noble: libxosd-dev 2.2.14-2.1build1
- ubuntu questing: libxosd-dev 2.2.15-1.1
- ubuntu resolute: libxosd-dev 2.2.15-1.1build1 Β· GPL-2.0-or-later
- ubuntu stonking: libxosd-dev 2.2.15-1.1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms