XMCREATESIMPLECHECKBOX(3)
π XmCreateSimpleCheckBox β the vibe check π
library call Β· XmCreateSimpleCheckBox(3)
okay bestie, sit down, we're learning Motif today and honestly? it's giving iconic β¨
β¨ NAME β¨
XmCreateSimpleCheckBox β a RowColumn widget convenience creation function π
πΈ SYNOPSIS πΈ
#include <Xm/RowColumn.h>
Widget XmCreateSimpleCheckBox(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
π¦ DESCRIPTION π¦
So like. XmCreateSimpleCheckBox creates an instance of a RowColumn widget of type XmWORK_AREA and hands you back the associated widget ID. Slay. π
This routine creates a CheckBox and its ToggleButtonGadget children. A CheckBox is lowkey similar to a RadioBox, except that more than one button can be selected at a time. Not me choosing chaos β you can pick multiple. Main character energy fr fr. π
The name of each button is button_n, where n is an integer from 0 (zero) to the number of buttons in the menu minus 1. Buttons are named and created in the order they are specified in the RowColumn simple menu creation resources supplied in the argument list. No cap, order matters. π
parentβ Specifies the parent widget IDnameβ Specifies the name of the created widgetarglistβ Specifies the argument listargcountβ Specifies the number of attribute/value pairs in the argument list (arglist)
A number of resources exist specifically for use with this and other simple menu creation routines. Heads up bestie: the only button type allowed in the XmNbuttonType resource is XmCHECKBUTTON. Periodt. π
For a complete definition of RowColumn and its associated resources, see XmRowColumn(3). Go read it, iykyk. π
π RETURN π
Returns the RowColumn widget ID. That's it, that's the tea. π«Ά
π RELATED π
XmCreateRadioBox(3)XmCreateRowColumn(3)XmCreateSimpleRadioBox(3)XmRowColumn(3)XmVaCreateSimpleCheckBox(3)XmVaCreateSimpleRadioBox(3)
okay that's the whole page, you ate that π§ and yes, this was a library call from the XmCreateSimpleCheckBox era β footer vibes only, we don't copy the fine print around here π go build something cute π
π¦ 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