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

πŸ’– XmTextSetAddMode πŸ’–

okay bestie, so we're diving into XmTextSetAddMode, a library call straight out of the XmText fam. it's giving ✨ Text widget energy ✨ and it's literally about to make your Add mode dreams come true. no cap. πŸ¦‹


🌸 NAME 🌸

XmTextSetAddMode β€” a Text function that sets the state of Add mode πŸ’…


✨ SYNOPSIS ✨

#include <Xm/Text.h>
void XmTextSetAddMode(
Widget widget,
Boolean state);

periodt. that's the whole vibe right there. πŸŽ€


πŸ’œ DESCRIPTION πŸ’œ

so like, XmTextSetAddMode controls whether or not the Text widget is in Add mode. simple as that, bestie. 🫢

and here's the iconic part β€” when the widget is in Add mode, the insert cursor can be moved around without disturbing the primary selection. literally main character energy. the cursor just does its little thing and the primary selection stays untouched. obsessed. 😌✨

  • widget β€” specifies the Text widget ID. like, which Text widget are we even talking to? that one. πŸ‘‘
  • state β€” specifies whether or not the widget is in Add mode. a value of True turns Add mode on; a value of False turns Add mode off. that's it, that's the toggle. 🌈
for a complete definition of Text and its associated resources, go check out XmText(3). the lore is all in there, iykyk. πŸ“–


and that's the whole page, bestie!! πŸŽ€ this was XmTextSetAddMode(library call) β€” like, the actual title of this whole manual moment β€” brought to you with all the love in the world. stay slay, keep your primary selection safe, and go set some Add mode. πŸ’…βœ¨πŸ¦‹πŸŒΈπŸ’œ