XMCREATEWORKINGDIALOG(3)
β¨ NAME β¨
XmCreateWorkingDialog β the MessageBox WorkingDialog convenience creation function, and yes bestie, it's giving library call energy π«Ά
πΈ SYNOPSIS πΈ
#include <Xm/MessageB.h>
Widget XmCreateWorkingDialog(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
π DESCRIPTION π
okay so XmCreateWorkingDialog is a convenience creation function β it literally does the whole setup for you in one call. It creates a DialogShell and an unmanaged MessageBox child of that DialogShell. two for one, we love to see it π
A WorkingDialog is the vibe you throw on screen to tell your user "hey girl, there is a time-consuming operation in progress rn" β and it also lets them cancel that operation if they're over it. It comes with a symbol, a message, and three buttons. The default symbol is an hourglass β³ (iconic, honestly) and the default button labels are OK, Cancel, and Help.
Wanna pop it up? Use XtManageChild and pass the MessageBox as the widget parameter. Wanna pop it down? Use XtUnmanageChild. that's the whole cycle, no cap π₯
Heads up bestie:XmCreateWorkingDialogforces the value of the Shell resourceXmNallowShellResizetoTrue. Not asking, not suggesting. Forcing. π
Now the arguments, one by one:
parentβ specifies the parent widget ID. it's the mom, basically πnameβ specifies the name of the created widget. name your child, it's only right πarglistβ specifies the argument list. all the args, lined up β¨argcountβ specifies the number of attribute/value pairs in the argument list (arglist). count 'em, don't guess π
If you want the complete definition of MessageBox and all its associated resources, go read XmMessageBox(3). that's your homework, iykyk π
π RETURN π
Returns the MessageBox widget ID. that's it, that's the tea π¦
π RELATED π
okay that's the whole page bestie, you ate π β¨
this lil masterpiece comes to you from the XmCreateWorkingDialog(library call) corner of the manual β same name up top, same name down here, and it's serving library call realness from start to finish. mwah π«ΆπΈ
π¦ 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