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

✨ XmSetMenuCursor ✨

okay bestie, welcome to the XmSetMenuCursor page β€” a function that modifies the menu cursor for a client, straight out of the library call manual. it's giving "vintage Motif" and honestly? iconic for what it is. πŸ’…


🌸 SYNOPSIS 🌸

#include <Xm/Xm.h>
void XmSetMenuCursor(
Display * display,
Cursor cursorId);

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: XmSetMenuCursor programmatically modifies the menu cursor for a client. like, once the cursor has already been created by the client, this function registers that cursor with the menu system. no cap. 🫢

after you call this function, the specified cursor gets displayed whenever this client displays a Motif menu on the indicated display. and the slay part? the client can then specify different cursors on different displays. main character energy fr fr. πŸ‘‘

this function sets the menu cursor for all screens on the display. periodt.

⚠️ okay real talk: XmSetMenuCursor is obsolete and only exists for compatibility with previous releases. like, it's still here, it still works, but it's the friend who peaked in high school. instead of using this function, provide initial values or call XtSetValues for the XmScreen resource XmNmenuCursor. do that. trust. πŸ’€

display β€” specifies the display to which the cursor is to be associated 🌈

cursorId β€” specifies the X cursor ID ⭐



and that's the whole vibe, bestie β€” this page came straight out of the XmSetMenuCursor section of the library call manual, dated however old Motif docs are, and it's lowkey a lil historical artifact. go forth and XtSetValues instead. mwah. πŸ’–βœ¨πŸŽ€