XMGETMENUCURSOR(3)
β¨ XmGetMenuCursor β¨
okay so bestie, gather round, because we're talking about a little function from the XmGetMenuCursor(library call) manual and it's giving vintage π
π NAME π
XmGetMenuCursor β a function that hands you the cursor ID for whatever menu cursor is currently in rotation π±οΈβ¨
πΈ SYNOPSIS πΈ
#include <Xm/Xm.h>
Cursor XmGetMenuCursor(
Display * display);
π¦ DESCRIPTION π¦
So what does it actually do? XmGetMenuCursor goes and asks the menu cursor that this client is currently using on the display you point it at, and it returns that cursor ID. That's it, that's the whole vibe. π
And lowkey important: this function returns the menu cursor for the default screen of the display. Like, it doesn't care about your other screens, it's locked in on the default one, periodt.
β οΈ NOTE:XmGetMenuCursoris obsolete and only exists for compatibility with previous releases. So bestie, please don't build your whole personality around it. Instead of using this function, callXtGetValuesfor theXmScreenresourceXmNmenuCursor. That's the main character move now. π
displayβ specifies the display whose menu cursor is to be queried π
π RETURN π
It returns the cursor ID for the current menu cursor... or it returns the value None if a cursor isn't defined yet π
And when is a cursor not defined, you ask? A cursor will not be defined if the application makes this call before the client has created any menus on the specified display. So like, don't come knocking before the menus exist, okay? There's literally nothing there yet. π
π RELATED π
and that's the whole page, bestie π«Ά this lil blast-from-the-past lives in the XmGetMenuCursor(library call) manual β go forth and call XtGetValues instead, fr fr πβ¨πΈ
π¦ 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