form_new_page(3X)
π form_new_page(3X) β form pagination functions π
okay bestie, this oneβs from the Library calls manual, section 3X, and itβs all about pagination in curses forms. The functions are set_new_page and new_page, and theyβre lowkey giving main-character energy for page breaks. π¦
πΈ NAME πΈ
set_new_page, new_page β form pagination functions
β¨ SYNOPSIS β¨
#include <form.h>
int set_new_page(FIELD *field, bool new_page_flag);
bool new_page(const FIELD *field);
π DESCRIPTION π
The function set_new_page sets or resets a flag marking the given field as the beginning of a new page on its form. Slay, thatβs literally the whole vibe: youβre flagging a field as a page-start. π
The function new_page is a predicate which tests if a given field marks a page beginning on its form. So itβs the little vibe check that tells you βyep, this field starts a new page.β β¨
π«Ά RETURN VALUE π«Ά
The function new_page returns TRUE or FALSE.
The function set_new_page returns one of the following:
E_OKβ the routine succeeded. iconic behavior, no notes. πE_CONNECTEDβ the given field is already connected to a form. oop, itβs taken. π
π PORTABILITY π
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions. fr fr, thatβs the compatibility tea. π
π§ AUTHORS π§
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. absolute legends. π
π SEE ALSO π
curses(3X) and related pages whose names begin form_ β for detailed descriptions of the entry points. iykyk, go read those next bestie. π¦
this page is from ncurses 6.5, dated 2024-03-16 β bye bestie, go paginate something cute π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright 2018-2023,2024 Thomas E. Dickey
- Copyright 1998-2010,2015 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms