XMSIMPLESPINBOXDELETEPOS(3)
π XmSimpleSpinBoxDeletePos π
okay bestie, gather round, because today we're talking about XmSimpleSpinBoxDeletePos β a little function from the Xm library (yes, the Motif girlies, we're back at it) and she's here to do exactly one job and do it slayfully. β¨
πΈ NAME πΈ
XmSimpleSpinBoxDeletePos β delete a XmSimpleSpinBox item ποΈβ¨
like. the name literally ate. she deletes. that's the whole vibe. periodt.
π SYNOPSIS π
#include <Xm/SpinB.h>
void XmSimpleSpinBoxDeletePos(
Widget w,
int pos);
no cap, that's it. two args, zero drama. π«Ά
π¦ DESCRIPTION π¦
okay so the XmSimpleSpinBoxDeletePos function deletes a specified item from a XmSimpleSpinBox widget. that's the whole main character arc. she removes a thing from a list. iconic behaviour honestly. π
w β this is the widget ID, bestie. it's you telling her which spin box we're messing with. don't get this wrong, okay? she needs to know where she's working. π
pos β this is the position of the item you want gone. and here's the part that's giving sneaky: a value of 1 means the first item in the list, and zero means the last item. π
not me needing to read that twice. yes bestie,1= first,0= last. it's not zero-indexed-from-the-front, it's zero-indexed-from-the-back. write that on your hand. ποΈπ
β RETURN VALUE β
the XmSimpleSpinBoxDeletePos function returns no value. she's a void. she gives nothing back and honestly? relatable. she simply does the deed and leaves. π§ββοΈ
π SEE ALSO π
go read those too, bestie, they're all in the same friend group. πβ¨
and that's the whole page, angel. this was XmSimpleSpinBoxDeletePos from the Xm library call pages β the header up top and the footer down bottom just echo her name and tag her as a library call, so consider this your official cute sign-off. π π go delete an item. slay. π¦
π¦ where this page comes from
- alpine 3.24: motif-doc 2.5.2-r0 Β· LGPL-2.1-or-later
- arch rolling: openmotif 2.3.8-4 Β· LGPL-2.1-or-later
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- epel 10: motif-devel 2.3.8-2.el10_2 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- nixos 26.05: motif 2.3.8
- nixpkgs unstable: motif 2.3.8
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms