XMCREATEINFORMATIONDIALOG(3)
π XmCreateInformationDialog π
okay bestie, welcome to the XmCreateInformationDialog page β it's a library call, and it's literally the glow-up shortcut for making an InformationDialog without hand-building the whole thing. no cap. β¨
β¨ NAME β¨
XmCreateInformationDialog β the MessageBox InformationDialog convenience creation function π«Ά
πΈ SYNOPSIS πΈ
#include <Xm/MessageB.h>
Widget XmCreateInformationDialog(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
π¦ DESCRIPTION π¦
so. XmCreateInformationDialog is a convenience creation function, meaning it does the boring setup for you. it creates a DialogShell and an unmanaged MessageBox that's a child of that DialogShell. two-for-one. iconic behavior honestly. π
an InformationDialog is the widget whose whole job is telling the user stuff β like, "hey, here's the status of the action you just did." it comes with a symbol, a message, and three buttons. the default symbol is i. the default button labels are OK, Cancel, and Help. periodt. π
to pop the InformationDialog up, use XtManageChild and pass the MessageBox as the widget parameter. to pop it back down, use XtUnmanageChild. that's the whole vibe check right there.
β οΈ heads up:XmCreateInformationDialogforces the value of the Shell resourceXmNallowShellResizetoTrue. not a suggestion, it just does it. π
now the args, bestie:
- parent β specifies the parent widget ID π
- name β specifies the name of the created widget π
- arglist β specifies the argument list β
- argcount β specifies the number of attribute/value pairs in the argument list (arglist) π₯
and if you want the complete definition of MessageBox plus all its associated resources, go read XmMessageBox(3). iykyk. π
π RETURN π
Returns the MessageBox widget ID. that's it, that's the gift. π
π RELATED π
and that's the whole page, bestie!! no notes, she ate. π
this little love letter lives under the manual name XmCreateInformationDialog(library call), straight from XmCreateInformationDialog(library call) β go forth and pop up some dialogs, you've got this fr fr π«Άπβ¨
π¦ 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