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

πŸ’– NAME πŸ’–

okay so bestie, meet XmGetTabGroup β€” it Returns the widget ID of a tab group. That's the whole gig. It lives in the library call manual, and yes, she's serving utility realness. πŸ’…

✨ SYNOPSIS ✨

#include <Xm/Xm.h>
Widget XmGetTabGroup(
Widget widget);

πŸ¦‹ DESCRIPTION πŸ¦‹

XmGetTabGroup returns the widget ID of the tab group that contains the specified widget. Like, you give her a widget, she finds the tab group it's inside and gives you back that widget ID. periodt. πŸ’–

  • widget β€” Specifies a widget ID within a tab group

πŸ”₯ RETURN πŸ”₯

She returns the widget ID of a tab group or shell, and the logic is giving choose-your-own-adventure, determined as follows:

  • If widget is a tab group or shell, returns widget
  • If neither widget nor any ancestor up to the nearest shell is a tab group, returns the nearest ancestor of widget that is a shell
  • Otherwise, returns the nearest ancestor of widget that is a tab group

Go read XmAddTabGroup(3), XmManager(3), and XmPrimitive(3). iykyk. πŸ’–


byeee bestie ✨ this was XmGetTabGroup from the library call manual. The footer only gave us library call as the manual name β€” no version, no date, just mystery and vibes πŸ’…πŸŽ€