XMCOMMANDERROR(3)
π XmCommandError π
okay bestie, welcome to a library call moment β this one's called XmCommandError, and fr fr it's giving "tiny function, big feelings". π«Ά
β¨ NAME β¨
XmCommandError β a Command function that displays an error message πβ‘οΈπ
πΈ SYNOPSIS πΈ
#include <Xm/Command.h>
void XmCommandError(
Widget widget,
XmString error);
no cap, that's the whole signature. two args. very demure, very mindful. π
π¦ DESCRIPTION π¦
so here's the tea, bestie: XmCommandError displays an error message in the history area of the Command widget. that's its whole job and it ate. π₯
the XmString called error stays on screen until the next command entered occurs β so it's not permanent, it's just living there rent-free until you type something new. main character energy, but with an expiry date. π
widgetβ specifies the Command widget ID π«Άerrorβ specifies the passedXmStringβ¨
and if you want the complete definition of Command plus all its associated resources? bestie you gotta go read XmCommand(3). iykyk. π
π RELATED π
real talk though β this is the vibe where a function is small but you still need it, so don't skip it just because it's short. periodt. π
and that's a wrap, angel π XmCommandError, library call, signing off β go forth and display your errors gorgeously π§β¨
π¦ 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