XMLISTADDITEMS(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ NAME ✨

okay bestie, this is the library call page aka XmListAddItems(library call) for XmListAddItems β€” a List function that adds items to the list πŸ’– like it literally does what it says on the tin, no cap.


🌸 SYNOPSIS 🌸

#include <Xm/List.h>
void XmListAddItems(
Widget widget,
XmString *items,
int item_count,
int position);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so XmListAddItems adds the specified items to the list at the given position. The first item_count items of the items array are added to the list. When the items are inserted into the list, they are compared with the current XmNselectedItems list. If any of the new items matches an item on the selected list, it appears selected. ✨

  • widget β€” Specifies the ID of the List to which an item is added. 🫢
  • items β€” Specifies a pointer to the items to be added to the list. πŸ’…
  • item_count β€” Specifies the number of items in items. This number must be nonnegative. 🚨
  • position β€” Specifies the position of the first new item in the list. A value of 1 makes the first new item the first item in the list; a value of 2 makes it the second item; and so on. A value of 0 (zero) makes the first new item follow the last item in the list. πŸ‘‘

For a complete definition of List and its associated resources, see XmList(3). πŸ“š


XmList(3). πŸ”₯


mwah πŸ’‹ this page is signed off as XmListAddItems(library call) β€” that’s the source/version footer vibe, and there’s no extra date line on this one. bye bestie, go slay those List items πŸ«ΆπŸ’–