XMMESSAGEBOXGETCHILD(3)
π XmMessageBoxGetChild π
okay bestie, so this is a page from the library call manual β it's the XmMessageBoxGetChild situation, and we're gonna get into it. grab a strawberry π, this one's short but it's got lore.
β¨ NAME β¨
XmMessageBoxGetChild β a MessageBox function that is used to access a component π«Ά
β¨ SYNOPSIS β¨
#include <Xm/MessageB.h>
Widget XmMessageBoxGetChild(
Widget widget,
unsigned char child);
β¨ DESCRIPTION β¨
So like, XmMessageBoxGetChild is literally here to let you access a component inside a MessageBox. the two things you hand it are the MessageBox widget itself and a value that tells it which component you're tryna get to. that's the whole vibe. π
NOTE: this routine is obsolete π and it only still exists for compatibility with previous releases. so instead of callingXmMessageBoxGetChild, you should callXtNameToWidgetlike theXmMessageBox(3)reference page says. no cap, that's the move.
widgetβ specifies the MessageBox widget ID. πchildβ specifies a component within the MessageBox. these are the legal values for this parameter, and yes, it's giving β¨exact listβ¨:XmDIALOG_CANCEL_BUTTONXmDIALOG_DEFAULT_BUTTONXmDIALOG_HELP_BUTTONXmDIALOG_MESSAGE_LABELXmDIALOG_OK_BUTTONXmDIALOG_SEPARATORXmDIALOG_SYMBOL_LABEL
and for a complete definition of MessageBox and its associated resources, go look at XmMessageBox(3). π¦
β¨ RETURN β¨
it returns the widget ID of the specified MessageBox component. π
but bestie, lowkey important: an application should not assume that the returned widget will be of any particular class. like, don't do it. fr fr. π
β¨ RELATED β¨
and that's the whole page, periodt. π this was the XmMessageBoxGetChild(library call) manual page β that's the source/version tag sitting pretty at the bottom of the original, and ngl it didn't come with a date attached, so no invented dates on my watch. slay responsibly, go call XtNameToWidget instead. π§β¨
π¦ 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