XMTEXTGETMAXLENGTH(3)
π XmTextGetMaxLength(3) π
okay bestie, gather round, because this is a library call from the XmText girlies and it's honestly so simple it's iconic. it's a Text function that goes and peeks at the value of the current maximum allowable length of a text string entered from the keyboard. yes, that's the whole job. she's not complicated, she's just β¨necessaryβ¨.
πΈ NAME πΈ
XmTextGetMaxLength β a Text function that accesses the value of the current maximum allowable length of a text string entered from the keyboard. literally that's it, that's her whole personality π
β¨ SYNOPSIS β¨
#include <Xm/Text.h>
int XmTextGetMaxLength(
Widget widget);
like, two lines. we love a low-maintenance queen π
π¦ DESCRIPTION π¦
XmTextGetMaxLength accesses the value of the current maximum allowable length of the text string in the Text widget entered from the keyboard. so it's not asking "how long is the string rn" β it's asking "how long is the string allowed to get". different question, bestie, and this function knows the difference π
the maximum allowable length prevents the user from entering a text string larger than this limit. it's giving bouncer at the club. you're not getting past this number, no cap π«
note that the maximum allowable length is the same as the value of the widget's XmNmaxLength resource. like, same value, two doors into the same room. iykyk.
widgetβ Specifies the Text widget ID π«Ά
for a complete definition of Text and its associated resources, see XmText(3). go read it, it's the whole lore drop π
π₯ RETURN π₯
Returns the integer value that indicates the string's maximum allowable length that can be entered from the keyboard. an int. that's the whole return. no structs, no pointers, no drama. she ate and left no crumbs π
β¨
π RELATED π
and that's the page, bestie!! this one came to you straight out of the library call manual β the header said XmTextGetMaxLength(library call) and the footer said the exact same thing right back, so you know it's official official. no date stamp on this one, just pure unfiltered XmTextGetMaxLength energy, top to bottom. mwah π
π¦ 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