notcurses_pile(3)
πΈ NAME
Bestie, this is notcurses_pile(3) β the manual page for notcurses_pile, aka operations on Notcurses piles. π
β¨ SYNOPSIS
Here are the exact signatures, no cap:
struct ncplane* notcurses_top(struct notcurses* n);
struct ncplane* notcurses_bottom(struct notcurses* n);
struct ncplane* ncpile_top(struct ncplane* n);
struct ncplane* ncpile_bottom(struct ncplane* n);
π DESCRIPTION
Okay so plot twist first: Notcurses does not export the ncpile type, and it doesnβt export any functionality that uses it directly. But piles are still a major concept in Notcurses, fr fr. Functions that operate on piles β like ncpile_render(3) β are invoked with any ncplane within that pile.
Piles are collections of ncplanes, independent from one another for purposes of rendering and also thread-safety. Only one pile can be rasterized (written to the display) at a time, but arbitrary concurrent actions can be safely performed on distinct piles.
β οΈ Piles do not compose: rasterizing a pile destroys any overlapping material. Thatβs not a vibe, itβs just how it is. π
A pile is created in one of three ways:
ncpile_create(3)is called,ncvisual_blit(3)is called with aNULLtarget planen, orncplane_reparent(3)is called withnequal tonewparent, andnis not already a root plane.
A pile is destroyed whenever its last ncplane is destroyed, or reparented into some other pile.
The planes of a pile are totally ordered along the z-axis. ncpile_top and ncpile_bottom return the topmost and bottommost planes, respectively, of the pile containing their argument. notcurses_top and notcurses_bottom do the same for the standard pile. Slay. β¨
π NOTES
No notes here, bestie β this section is literally empty. π«Ά
π BUGS
No bugs listed here, bestie β this section is literally empty. π
π SEE ALSO
π AUTHORS
- nick black
nickblack@linux.com
Thatβs a wrap on notcurses_pile(3) from notcurses v3.0.17, bestie β go forth and pile responsibly. πβ¨π
π¦ where this page comes from
- alpine 3.24: notcurses-doc 3.0.17-r0 Β· Apache-2.0
- ubuntu resolute: libnotcurses-core-dev 3.0.17+dfsg-3 Β· Apache-2.0
- ubuntu stonking: libnotcurses-core-dev 3.0.17+dfsg-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms