XMREPTYPEVALIDVALUE(3)
β¨ NAME β¨
XmRepTypeValidValue is a library call β a representation type manager function that tests the validity of a numerical value of a representation type resource. Bestie, it's giving validation gatekeeper energy. π
π¦ SYNOPSIS π¦
#include <Xm/RepType.h>
Boolean XmRepTypeValidValue(
XmRepTypeId rep_type_id,
unsigned char test_value,
Widget enable_default_warning);
π DESCRIPTION π
okay so XmRepTypeValidValue tests the validity of a numerical value for a given representation type resource. The function generates a default warning message if the value is invalid and the enable_default_warning argument is non-NULL. That's the whole plot. π«Ά
rep_type_idβ specifies the identification number of the representation type. Like, the ID card for the rep type, no cap. πtest_valueβ specifies the numerical value to test. This is the number you're putting through the vibe check. π₯enable_default_warningβ specifies the ID of the widget that contains a default warning message. If this parameter isNULL, no default warning message is generated and the application must provide its own error handling. So if you passNULL, you're DIY-ing your errors, bestie. π
lowkey important: NULL means no default warning and you handle your own errors. Don't come crying to the function later. π
π RETURN π
Returns True if the specified value is valid; otherwise, returns False. So it's a slay or nay, no in-between. π
π₯ RELATED π₯
And that's the whole manual, bestie. Sign-off from the footer: XmRepTypeValidValue(library call) β that's the source/version/date tea we got, and it's giving library call, 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