XMCREATEFRAME(3)
β¨ XmCreateFrame π
okay bestie, so this one lives in the library call section of the manual, and it's all about the Frame widget creation function. yes, that Frame. the one that goes around your other widgets and gives them that little border moment. iconic behavior honestly π
πΈ NAME πΈ
XmCreateFrame β The Frame widget creation function
like. that's it. that's the whole name. short, sweet, slays π
β¨ SYNOPSIS β¨
#include <Xm/Frame.h>
Widget XmCreateFrame(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
no cap, that's the whole signature. four args, one Widget coming back at you π¦
π DESCRIPTION π
So XmCreateFrame creates an instance of a Frame widget and returns the associated widget ID. that's the whole vibe. you ask for a Frame, the toolkit goes "say less", and hands you back the ID. periodt π
Now the args, one by one, because we do NOT skip details in this house:
parentβ Specifies the parent widget ID. it's giving "who's your mom, who's your dad" β your new Frame needs a home, and this is it π«Άnameβ Specifies the name of the created widget. name your baby. choose wisely bestie π«arglistβ Specifies the argument list. this is where you pass all your attribute/value pairs, aka the customization menu πargcountβ Specifies the number of attribute/value pairs in the argument list (arglist). literally just count them. that's the job. and yes, it has to match, iykyk π
For a complete definition of Frame and its associated resources, see XmFrame(3). go read it, it's the sequel, it's highkey required reading πβ¨
π RETURN π
Returns the Frame widget ID. that's your prize. hold it gently, use it everywhere π₯
π¦ RELATED π¦
XmFrame(3). β the main character of this whole storyline, honestly
reminder bestie: this page is XmCreateFrame(library call) β that's your source/version tag, straight from the Xm library call manual. the date on it is giving timeless, but the info is eternal β¨
k love you, go make some frames, and remember: every widget deserves a parent ππ πΈ
π¦ 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