XMTEXTENABLEREDISPLAY(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

πŸ’– XmTextEnableRedisplay(3) πŸ’–

okay bestie, so this is XmTextEnableRedisplay from the library call zone β€” a Text function that forces the visual update of a Text widget. yes it's as iconic as it sounds. ✨


🌸 SYNOPSIS 🌸

#include <Xm/Text.h>
void XmTextEnableRedisplay(
Widget widget);

πŸ¦‹ DESCRIPTION πŸ¦‹

so XmTextEnableRedisplay is the other half of a little duo, and its partner in crime is XmTextDisableRedisplay β€” the one that literally suppresses visual update of the Text widget. think of them as the "do not disturb" toggle and the "okay we're back, look at me" toggle. πŸ’…

when you call XmTextEnableRedisplay, it goes and checks whether any visual attributes have been set or modified for the specified widget since XmTextDisableRedisplay was called. if they have β€” and bestie, they usually have β€” it forces the widget to update its visual display for all of the intervening changes. every single one. no crumbs left behind. πŸŽ€

and then? any subsequent changes that affect visual appearance cause the widget to update its visual display like normal again. the widget is so back. πŸ”₯

oh and also β€” this function causes the insertion cursor to be restored. yes, the cursor that was not shown while redisplay was disabled. she was on a little break, she's returning to her main character position now. πŸ‘‘

  • widget β€” Specifies the Text widget ID πŸ’–


ngl this one is short and sweet and does exactly what it says on the tin β€” she disables, she re-enables, she updates, periodt. πŸ’œ

okay love u, bye!! this was XmTextEnableRedisplay, a library call, straight out of the XmText pages β€” go read XmTextDisableRedisplay(3) next if you wanna see the other twin 🫢✨