XMCREATEICONGADGET(3)
β¨ XmCreateIconGadget β¨
okay bestie, we're in the <pink>library call</pink> section of the manual and today's main character is XmCreateIconGadget β literally the IconGadget widget creation function π
π NAME π
XmCreateIconGadget β The IconGadget widget creation function
like. it makes IconGadgets. that's the whole job. iconic behavior fr fr π¦
πΈ SYNOPSIS πΈ
#include <Xm/IconG.h>
Widget XmCreateIconGadget(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
yes she takes four arguments and yes you have to give her all four, no cap π«Ά
π DESCRIPTION π
So here's the tea β: XmCreateIconGadget creates an instance of an IconGadget widget and returns the associated widget ID. That's it. That's the vibe. You hand her a parent, a name, an arglist and a count, and she hands you back a shiny new widget ID β¨
Now let's go through the parameters one by one because we are NOT skipping anybody, everybody gets their moment π
parentβ Specifies the parent widget ID. it's giving "who's your mom" energy, the new gadget gets tucked into this widget's family tree π³nameβ Specifies the name of the created widget. give her a cute name bestie, she deserves one πarglistβ Specifies the argument list. all your attribute/value pairs live here πargcountβ Specifies the number of attribute/value pairs in the argument list (arglist). yes you gotta count them yourself, no she will not do it for you π
For a complete definition of IconGadget and its associated resources, see XmIconGadget(3).
like if you want the FULL lore, the deep dive, the extended universe β that's where you go. this page is the meet-cute, XmIconGadget(3) is the whole trilogy π
β RETURN β
Returns the IconGadget widget ID. that's your prize, your trophy, your little guy π hold onto it, you'll need it for literally everything else.
π RELATED π
go read her too, she's the moment π«
and that's the whole page bestie!! this one came out of the library call manual, and the footer says it's from XmCreateIconGadget(library call) β so like, same name, same section, she's just out here being her own header and footer at the same time πβ¨
mwah, go create some gadgets, you ate π«Άπ
π¦ 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