XMMULTILISTGETSELECTEDROWARRAY(3)
β¨ NAME β¨
Ok bestie, this is XmMultiListGetSelectedRowArray from the library call section β a MultiList function that returns an array of integers which are selected row numbers. It's giving "which rows are selected?" energy. π
πΈ SYNOPSIS πΈ
#include <Xm/MultiList.h>
int * XmMultiListGetSelectedRowArray(
Widget widget,
int * num_rows);
π DESCRIPTION π
This routine creates an array of integers which are selected row numbers in the MultiList widget. Like, it's literally assembling the receipts of which rows are chosen. π§Ύβ¨
widgetβ Specifies the ID of the MultiList widget. That's your MultiList bestie right there. π«Άnum_rowsβ Specifies pointer to the integer indicates number of returned row numbers. So it's a pointer to the integer that says how many row numbers came back. Lowkey important. π
For a complete definition of MultiList and its associated resources, see XmMultiList(3). Go read that if you want the whole lore. π
π RETURN π
The int * returned by this function contains a selected rows numbers array. The calling routine is responsible for freeing the returned pointer with XtFree(). Yes, you gotta clean up after yourself, no leaving your mess for the server. π§Ή
The function will return NULL if no elements are selected. So if nothing's selected, you get NULL, and that's the vibe check. π
π RELATED π
Signing off from the XmMultiList...tedRowArray(library call) footer β that's the source/version-ish tag, and the date is giving mystery, but the vibes are forever. πβ¨
π¦ 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