XMCREATEDRAWNBUTTON(3)
π XmCreateDrawnButton π
okay so bestie, this is a library call manual page, and the star of the show is XmCreateDrawnButton β the DrawnButton widget creation function. no cap, it's giving widget-maker energy. π¦
π NAME π
XmCreateDrawnButton β the DrawnButton widget creation function. periodt.
β¨ SYNOPSIS β¨
#include <Xm/DrawnB.h>
Widget XmCreateDrawnButton(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
πΈ DESCRIPTION πΈ
okay so XmCreateDrawnButton does exactly what it says on the tin: it creates an instance of a DrawnButton widget and returns the associated widget ID. main character behavior, honestly.
Here's the rundown on the arguments, bestie:
parentβ specifies the parent widget ID. it's the chosen family, the widget that's holding it down. π«Άnameβ specifies the name of the created widget. give it a name, it's iconic.arglistβ specifies the argument list. this is where you pass your attribute/value pairs, iykyk.argcountβ specifies the number of attribute/value pairs in the argument list (arglist). count them, bestie, don't guess.
For a complete definition of DrawnButton and its associated resources, see XmDrawnButton(3). fr fr, that's the deep dive.
π RETURN π
Returns the DrawnButton widget ID. slay. that's your new widget's ID, go off.
π RELATED π
That's the whole page, bestie β XmCreateDrawnButton, library call, and no date stamp on this one, so we're not inventing one. πβ¨
π¦ 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