XMLISTADDITEMSUNSELECTED(3)
π XmListAddItemsUnselected π
okay bestie, so this one lives in the XmListAddItemsUnselected(library call) section of the manual, and it's literally just a List function that adds items to a list. that's the whole vibe. let's get into it π¦
β¨ NAME β¨
XmListAddItemsUnselected β a List function that adds items to a list π
πΈ SYNOPSIS πΈ
#include <Xm/List.h>
void XmListAddItemsUnselected(
Widget widget,
XmString *items,
int item_count,
int position);
like, that's it. that's the whole signature. she's simple, she's direct, she knows what she wants π
π DESCRIPTION π
so XmListAddItemsUnselected adds the items you hand her to the list, at the position you give her. and here's the icon behavior: the inserted items stay unselected β even if they're currently chillin' in the XmNselectedItems list. no cap. she does not care. they go in unselected and that's final πβ¨
now the arguments, one by one, because we do NOT skip details in this house:
widgetβ specifies the ID of the List widget you're adding items to. that's your girl. your target. π«Άitemsβ a pointer to the items you wanna add to the list. the actual goods. π¦item_countβ the number of elements initems. this number must be nonnegative. like. do not pass her a negative number. that's not a vibe check she's willing to pass πpositionβ the position of the first new item in the list. let's break it down because the numbering is lowkey iconic:- a value of
1makes the first new item the first item in the list β¨ - a value of
2makes it the second item πΈ - and so on, you get the pattern, you're smart π
- a value of
0(zero) makes the first new item follow the last item of the list β so she goes to the end, like the final boss of the list π
- a value of
fr fr, if you want a complete definition of List and all its associated resources, go read XmList(3). that's where the lore lives π
π RELATED π
and that's the whole page bestie!! π¦β¨ this one came straight outta the XmListAddItemsUnselected(library call) manual, so if you ever need to cite her, that's the glow-up label she goes by π go add some unselected items to a list, you absolute main character ππ«Ά
π¦ 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