XMCREATESIMPLECHECKBOX(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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 ID
  • name β€” Specifies the name of the created widget
  • arglist β€” Specifies the argument list
  • argcount β€” 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. 🫢



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 🌟