XMVACREATESIMPLECHECKBOX(3)
β¨ NAME β¨
XmVaCreateSimpleCheckBox β a RowColumn widget convenience creation function. it's giving convenience, bestie, and it lives in the library call manual. π
πΈ SYNOPSIS πΈ
#include <Xm/RowColumn.h>
Widget XmVaCreateSimpleCheckBox(
Widget parent,
String name,
XtCallbackProc callback);
π DESCRIPTION π
okay so XmVaCreateSimpleCheckBox creates an instance of a RowColumn widget of type XmWORK_AREA and returns the associated widget ID. This routine uses the ANSI C variable-length argument list (varargs) calling convention. slay.
This routine creates a CheckBox and its ToggleButtonGadget children. A CheckBox is similar to a RadioBox, except that more than one button can be selected at a time. 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 in which they are specified in the variable portion of the argument list. periodt.
parentβ Specifies the parent widget ID.nameβ Specifies the name of the created widget.callbackβ Specifies a callback procedure to be called when a button's value changes. This callback function is added to each button after creation as the button'sXmNvalueChangedCallback. The callback function is called when a button's value changes, and the button number is returned in theclient_datafield. π
The variable portion of the argument list consists of groups of arguments. The first argument in each group is a constant or a string and determines which arguments follow in that group. The last argument in the list must be NULL. The following list describes the possible first arguments in each group of varargs:
XmVaCHECKBUTTONβ This is followed by four additional arguments. The set specifies one button in the CheckBox and some of its resource values. The following list describes the additional four arguments, in order.labelβ The label string, of typeXmString.mnemonicβ The mnemonic, of typeKeySym. This is ignored in this release.acceleratorβ The accelerator, of typeString. This is ignored in this release.accelerator_textβ The accelerator text, of typeXmString. This is ignored in this release.
resource_nameβ This is followed by one additional argument, the value of the resource, of typeXtArgVal. The pair specifies a resource and its value for the RowColumn widget.XtVaTypedArgβ This is followed by four additional arguments. The set specifies a resource and its value for the RowColumn widget. A resource type conversion is performed if necessary. Following are the additional four arguments, in order:nameβ The resource name, of typeString.typeβ The type of the resource value supplied, of typeString.valueβ The resource value (or a pointer to the resource value, depending on the type and size of the value), of typeXtArgVal.sizeβ The size of the resource value in bytes, of typeint.
XtVaNestedListβ This is followed by one additional argument of typeXtVarArgsList. This argument is a nested list of varargs returned byXtVaCreateArgsList.
For more information on variable-length argument lists, see the X Toolkit Intrinsics documentation.
A number of resources exist specifically for use with this and other simple menu creation routines. For a complete definition of RowColumn and its associated resources, see XmRowColumn(3).
π RETURN π
Returns the RowColumn widget ID. that's it, that's the return, bestie. π
π¦ RELATED π¦
XmCreateRadioBox(3)XmCreateRowColumn(3)XmCreateSimpleCheckBox(3)XmCreateSimpleRadioBox(3)XmRowColumn(3)XmVaCreateSimpleRadioBox(3)
mwah π that's the whole XmVaCreateSimpleCheckBox page from the library call manual β no source/version/date was printed in the original footer, so no made-up tea here. periodt. β¨
π¦ 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