XMCREATEQUESTIONDIALOG(3)
β¨ NAME β¨
XmCreateQuestionDialog β the MessageBox QuestionDialog convenience creation function, aka the girl who pops up just to ask you a lil question π
πΈ SYNOPSIS πΈ
#include <Xm/MessageB.h>
Widget XmCreateQuestionDialog(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
π DESCRIPTION π
okay bestie so XmCreateQuestionDialog is a convenience creation function β meaning it does the boring setup for you β and what it makes is a DialogShell plus an unmanaged MessageBox child of that DialogShell. yes, unmanaged, as in it's not on screen yet, she's just getting ready backstage π
A QuestionDialog exists to get the answer to a question from the user. it comes with a symbol, a message, and three buttons. the default symbol is a question mark (iconic, obviously), and the default button labels are OK, Cancel, and Help β¨
to pop the QuestionDialog up, use XtManageChild and pass the MessageBox as the widget parameter π«Ά to pop it back down, use XtUnmanageChild. that's the whole vibe check, no cap.
XmCreateQuestionDialog also forces the value of the Shell resource XmNallowShellResize to True. it's not a suggestion, she's doing it, periodt π
- 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) π’
for a complete definition ofMessageBoxand its associated resources, seeXmMessageBox(3). go read it, i'm literally begging π
β RETURN β
returns the MessageBox widget ID. that's your girl. take care of her π
π¦ RELATED π¦
and that's the page bestie, no notes π this was XmCreateQuestionDialog(library call) β the library call manual, footer and all β mwah, go forth and ask your questions ππ
π¦ 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