XMTEXTDISABLEREDISPLAY(3)
π XmTextDisableRedisplay π
okay so bestie, gather round, because we're talking about XmTextDisableRedisplay β a Text function that temporarily stops the Text widget from doing its little visual updates. yes, it's from the library call manual, and yes it's as iconic as it sounds β¨
πΈ SYNOPSIS πΈ
#include <Xm/Text.h>
void XmTextDisableRedisplay(
Widget widget);
like, that's it. that's the whole vibe. π
β¨ DESCRIPTION β¨
so here's the tea π: XmTextDisableRedisplay prevents redisplay of the Text widget you point it at, even though its visual attributes have been modified. the widget just... sits there, looking exactly the same, lowkey frozen in time, until you call XmTextEnableRedisplay. no glow-up until you say so. periodt.
one lil' detail though β while redisplay is disabled, the insertion cursor is not displayed. so don't come for me when the cursor ghosted you, it's literally supposed to do that π
and why would you even want this? because it lets an application make multiple changes to the widget without causing a bunch of intermediate visual updates. no flickering, no half-finished states, no chaos β just one clean reveal at the end. it's giving backstage prep before the main character walks out π
widget β Specifies the Text widget ID π
π RELATED π
XmTextEnableRedisplay(3)β the one who turns the lights back on π«Ά
and that's the whole page, bestie!! this was XmTextDisableRedisplay(library call), and the footer's just echoing that same XmTextDisableRedisplay(library call) right back at us like a little mirror β no cap. mwah, go make some batch edits without the flicker ππ§β
π¦ 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