XMCREATEINFORMATIONDIALOG(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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: XmCreateInformationDialog forces the value of the Shell resource XmNallowShellResize to True. 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. 🎁



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 πŸ«ΆπŸ’–βœ¨