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

✨ XmCommandSetValue β€” a library call, bestie ✨

okay so this is XmCommandSetValue(3), a library call from the Xm family, and she's here to swap out whatever text is chillin' in your Command widget. short function, big main character energy. let's go πŸ’…


🌸 NAME 🌸

XmCommandSetValue β€” a Command function that replaces a displayed string. that's it. that's the whole job. iconic. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <Xm/Command.h>
void XmCommandSetValue(
Widget widget,
XmString command);

look at her. returns void because she gives nothing back, she just does the thing. no cap. ✨


πŸ’– DESCRIPTION πŸ’–

XmCommandSetValue replaces the string displayed in the command area of the Command widget with the passed XmString. that's literally it, she takes what you hand her and puts it on display, no questions asked. lowkey the most straightforward bestie in the whole toolkit 🫢

  • widget β€” specifies the Command widget ID. like, which Command widget are we talking to? that one. πŸ¦‹
  • command β€” specifies the passed XmString. the glow-up text itself, fr fr.

for a complete definition of Command and its associated resources, see XmCommand(3). iykyk πŸ’œ



okay bestie that's the whole page, no crumbs left behind πŸ“ if you were hoping for forty flags and a thousand caveats, sorry, she's a one-trick pony and she ate. this was XmCommandSetValue(library call) β€” same name up top, same name down at the bottom, plus the version and date info that lived on that footer line. mwah πŸ’‹ go forth and set some values πŸ’–βœ¨πŸŽ€