_S3DW_LABEL(9)
π s3dw_label π
okay bestie, welcome to s3dw_label, living its best life in the s3d Manual, section 9 ofc π this one's short and sweet, so let's get into it β¨
β¨ NAME β¨
s3dw_label β the label of an s3d widget π·οΈ
πΈ SYNOPSIS πΈ
#include <s3dw.h>
like, that's it, that's the whole invite π«Ά
π¦ STRUCTURE MEMBERS π¦
here's the whole squad, laid out exactly as it is, no cap:
struct _s3dw_label {
s3dw_widget widget;
char *text;
s3dw_callback onclick;
}
widgetβ as3dw_widget, the base widget energy, the main character it's built on πtextβ achar *, the actual text hanging out in there βοΈonclickβ as3dw_callback, the lil function that fires when somebody clicks the field π±οΈ
π DESCRIPTION π
okay so, real talk: the label is an label-field where a user may type things π like, yes, it's called a label, and yes, it's a field you can type into β the naming is giving chaos but we love her anyway π
and onclick? it reacts on click in the field. that's the vibe. click happens, callback goes brrr π₯
π AUTHOR π
Simon Wunderlich β Author of s3d π«Ά absolute icon, we stan
not me being obsessed with a struct that has exactly three members π short, iconic, does what it says on the tin β¨
kisses, bestie π this was _S3DW_LABEL(9) from the s3d manual β stay slay, go click some fields π
π¦ 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