XMLISTDELETEALLITEMS(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

πŸ’… XmListDeleteAllItems πŸ’…

okay bestie, gather round, because we're talking about a function from the library call manual β€” yes, the library call girlies, that's the vibe we're in πŸŽ€


✨ NAME ✨

XmListDeleteAllItems β€” a List function that deletes, like, ALL the items from the list. every single one. no survivors. it's giving scorched earth but make it widgets πŸ’€


🌸 SYNOPSIS 🌸

#include <Xm/List.h>
void XmListDeleteAllItems(
Widget widget);

look at that signature. <cyan>void</cyan>, so it gives you nothing back β€” not even a little receipt. iconic behaviour honestly πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

So XmListDeleteAllItems deletes all items from the list. that's it. that's the whole job. it does not do a little bit, it does not do a vibe check first, it just clears the whole thing out 🧹✨

  • widget β€” specifies the ID of the List from whose list the items are deleted. yes bestie, you gotta hand over the actual ID of the List you're clearing β€” it's not gonna guess which one you meant 😭

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



no cap: this function returns void, so there's no return value to check. the deletion just happens. periodt πŸ’–

okay so that's the whole page, and it lives in the library call manual β€” that's the manual name we're repping all day, and the footer is just the same XmListDeleteAllItems(library call) tag again because this page said "no new version info, no date, we're keeping it mysterious" πŸ™ˆ but ily, go clear that list, slay, bye bestie 🫢🌸πŸ’