XMTABSTACKXYTOWIDGET(3)

πŸ“¦
version 2.3.8 Β· 3 versions
, in arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– XmTabStackXYToWidget πŸ’–

okay bestie, so this one is a library call from the Xm family, and it's literally just "hey, where am I?" but for tabs. let me put you on 🫢


✨ NAME ✨

XmTabStackXYToWidget β€” a TabStack function that converts a pixel coordinate to the widget ID of the tab occupying that space πŸ’…


🌸 SYNOPSIS 🌸

#include <Xm/TabStack.h>
Widget XmTabStackXYToWidget(
Widget widget,
int    x,
int    y);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so XmTabStackXYToWidget converts an X/Y pixel coordinate in the window of TabStack to the widget ID of the tab occupying that space. that's the whole vibe. you give it a spot on the screen, it tells you which tab is sitting there like the main character πŸ‘‘

here's what you're feeding it:

  • widget β€” specifies the TabStack widget ID πŸŽ€
  • x β€” specifies X coordinate to convert
  • y β€” specifies Y coordinate to convert

fr fr, that's it. three things. coordinate in, tab out.


⭐ RETURN ⭐

Returns the widget ID of the tab occurring in the specified coordinate. yes bestie, you get a whole widget back, not just a vibe check πŸ”₯



and that's the page, no cap 🧚 the header up top filed it under XmTabStackXYToWidget(library call), and the footer closed it out with that exact same XmTabStackXYToWidget(library call) tag β€” so if you ever need to cite it, that's the name it lives under πŸ’– slay, go convert some coordinates 🌈