XMCREATECOMMANDDIALOG(3)
π XmCreateCommandDialog π
okay bestie, welcome to the XmCreateCommandDialog page from the library calls section, and honestly? it's giving "tiny function, big main character energy" π she's a convenience creation function, and she's about to hand you a whole dialog like it's nothing.
β¨ NAME β¨
XmCreateCommandDialog β the Command CommandDialog convenience creation function π
πΈ SYNOPSIS πΈ
#include <Xm/Command.h>
Widget XmCreateCommandDialog(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
π¦ DESCRIPTION π¦
so like. XmCreateCommandDialog is a convenience function, which is the fancy way of saying she does the tedious stuff for you. she creates a DialogShell and an unmanaged Command child of that DialogShell. that's two widgets for the price of one call, we love a two-for-one π
and what's a CommandDialog for, you ask? it's for entering commands for processing. that's the whole vibe. it's the little box where you type commands, periodt.
to make it appear, use XtManageChild to pop up the CommandDialog β and you gotta pass the Command as the widget parameter, don't skip that part bestie π. to make it go away again, use XtUnmanageChild to pop it down. up, down, up, down, iconic behaviour fr fr.
also important: XmCreateCommandDialog forces the value of the Shell resource XmNallowShellResize to True. she doesn't ask. she just does it. no cap. π₯
now the arguments, one by one, because we do NOT skip the boring parts in this house π«Ά
- 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 Command and its associated resources, go read XmCommand(3). that's where the full lore lives, iykyk π
π RETURN π
she returns the Command widget ID. that's it. that's the gift. π
π« RELATED π«
okay that's the whole page, you ate it, you're welcome π
signed off with love from the XmCreateCommandDialog(library call) crew β that's the manual name and the footer tag you'll see at the bottom of the page, so if you ever forget where you are, look down there and it'll say XmCreateCommandDialog(library call) right back at you πβ¨
π¦ 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