_S3DW_TEXTBOX(9)
π NAME π
s3dw_textbox β the textbox of s3d widget, bestie. it's giving "box full of text" and honestly? iconic.
β¨ SYNOPSIS β¨
#include <s3dw.h>
like that's it, that's the whole vibe. just pull in the header and you're set π«Ά
π STRUCTURE MEMBERS π
okay so here's the whole glow-up of struct _s3dw_textbox, every single member, no cap:
struct _s3dw_textbox {
s3dw_widget widget;
s3dw_scrollbar *scroll_vertical;
s3dw_scrollbar *scroll_horizontal;
char *text;
int n_lineoids;
int *p_lineoids;
int window_x;
int window_y;
s3dw_callback onclick;
}
she's got the base widget in there (every s3d widget starts with that, periodt), a scroll_vertical and a scroll_horizontal pointer for the scrollbars, the actual text itself as a char *, an n_lineoids count plus a p_lineoids int * pointer to the lineoids, the window_x and window_y positions, and an onclick s3dw_callback for when somebody clicks her. main character energy fr fr π
πΈ DESCRIPTION πΈ
so a textbox shows some text, right? and it has scrollbars so you can scroll around and see all of it β the way that a textbox just holds your text and lets you vibe through it π¦β¨
but listen: it can currently only react to a click event. that's it. one (1) event. don't come for her, she's doing her best π
π AUTHOR π
Simon Wunderlich β Author of s3d. king behavior, we stan π«Άπβ
and that's the whole page, babe π this was _S3DW_TEXTBOX(9) from the s3d manual β mwah, go write something cute with it β¨π
π¦ where this page comes from
- debian bookworm: s3d-doc 0.2.2.1-5 Β· GPL-2.0-or-later
- debian trixie: s3d-doc 0.2.2.1-7 Β· GPL-2.0-or-later
- ubuntu jammy: s3d-doc 0.2.2.1-3build1 Β· GPL-2.0-or-later
- ubuntu noble: s3d-doc 0.2.2.1-6build3 Β· GPL-2.0-or-later
- ubuntu questing: s3d-doc 0.2.2.1-7build1
- ubuntu resolute: s3d-doc 0.2.2.1-7build3 Β· GPL-2.0-or-later
- ubuntu stonking: s3d-doc 0.2.3-1 Β· 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