S3DW_DELETE(3)

πŸ’– S3DW_DELETE πŸ’–

okay bestie, welcome to the s3dw_delete page from the s3d manual β€” section 3, library functions, the whole vibe. pull up a chair, we're deleting widgets 🫢


✨ NAME ✨

s3dw_delete β€” delete widget

like, that's it. that's the job. it deletes a widget. slay πŸ’…


🌸 SYNOPSIS 🌸

#include <s3dw.h>

void s3dw_delete(s3dw_widget *widget);

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea: s3dw_delete deletes any widget. literally any of them, no cap. it's giving equal-opportunity widget destruction πŸ’€

the one thing you HAVE to remember, and I cannot stress this enough bestie β€” it should be casted with S3DWIDGET(). that's the move. do the cast, don't skip the cast, we don't skip the cast in this house πŸŽ€

fr fr, the S3DWIDGET() cast is not optional-flavoured decoration, it's right there in the manual. pass your widget through it and then hand it to s3dw_delete. periodt ✨

πŸ‘‘ AUTHOR πŸ‘‘

Simon Wunderlich

β€” Author of s3d πŸŒˆπŸ’œ


and that's the whole page, bestie, no filler, all facts, iconic behaviour only πŸ§šβ€β™€οΈ this little drop of wisdom comes to you from the s3d manual β€” source and all β€” so go forth and delete responsibly πŸ“β­πŸ’–