_S3DW_INPUT(9)
π _S3DW_INPUT(9) π
okay bestie, pull up a chair, we're reading the _S3DW_INPUT page from the s3d manual, section 9 (that's the kernel/widget-dev section, iykyk). it's short, it's sweet, it's giving "tiny but mighty" π
β¨ NAME β¨
s3dw_input β the input field of an s3d widget π
πΈ SYNOPSIS πΈ
#include <s3dw.h>
π¦ STRUCTURE MEMBERS π¦
here's the whole struct, laid out exactly as the universe intended:
struct _s3dw_input {
s3dw_widget widget;
char *text;
uint32_t oid_text;
s3dw_callback onclick;
s3dw_callback onedit;
}
like, five members. five little guys. all of them important. β¨
π DESCRIPTION π
so the input is literally an input field β a little box where a user may type things. that's the whole vibe. a box. typing. iconic.
onclickβ this one reacts on click in the field π like, someone tapped it, and this callback is like "noted."oneditβ this one notifies you when someone writes in the field βοΈ so you always know when the typing happens, no cap.
bestie, do NOT sleep on onedit β it's literally the whole reason you can tell when the user is out here actually writing stuff. π«Ά
π AUTHOR π
Simon Wunderlich Author of s3d
the legend himself, author of s3d πβ
and that's the page, fr fr π this was the _S3DW_INPUT(9) page out of the s3d manual (section 9, the good section), brought to you by the s3d crew. go forth and type in fields, bestie ππ¦π
π¦ 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