XMSTRINGHEIGHT(3)
β¨ NAME β¨
XmStringHeight β a compound string function that returns the line height of the given compound string π
okay so bestie, quick vibe check: this is a library call from the Xm crew, and it is exactly what it says on the tin β you hand it a compound string, it hands you back a height. no cap.
π¦ SYNOPSIS π¦
#include <Xm/Xm.h>
Dimension XmStringHeight(
XmRenderTable rendertable,
XmString string);
like, copy that #include exactly, she's the moment. π«Ά
π DESCRIPTION π
XmStringHeight returns the height, in pixels, of the sum of all the line heights of the given compound string. and the way that separator components delimit lines?? that's the whole structural tea, fr fr. π
so basically: every line in your string has a height, and this function adds them all up and gives you the total. it's giving math but make it glamorous. β¨
Here's the cast of characters:
rendertableβ specifies the render table πΈ (this is the thing that decides how your string actually looks when rendered, iykyk)stringβ specifies the string π (the compound string you're measuring, your main character)
πΈ RETURN πΈ
Returns the height of the specified string. π
that's it. that's the return. no plot twist, no hidden catch, just pixels. π¦
π RELATED π
XmStringCreate(3)β go meet her sister, she's iconic π
real talk: don't sleep on the fact that the render table matters here. the height you get back is lowkey dependent on how the render table renders things, so don't be out here measuring with a table you didn't intend to use. π
and that's the whole page, bestie!! π this one lives in the XmStringHeight(library call) corner of the manual, so if you see that header and footer floating around your terminal, that's just the man page doing its little outfit check. β¨ π«© go measure something. slay. π
π¦ 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