XkbLatchGroup(3)

πŸ’… XkbLatchGroup(3) πŸ’…

okay bestie, welcome to the XKB FUNCTIONS corner of the manual β€” this one is short, iconic, and very β€œsend it and don’t wait around” energy. πŸŽ€

🌸 NAME 🌸

XkbLatchGroup β€” latches the keysym group. That’s the whole vibe, no cap. ✨

✨ SYNOPSIS ✨

Bool XkbLatchGroup (Display *display, unsigned int device_spec, unsigned
       int group);

πŸŽ€ ARGUMENTS πŸŽ€

  • display β€” connection to the X server πŸ’–
  • device_spec β€” device ID, or XkbUseCoreKbd πŸ¦‹
  • group β€” index of the keysym group to latch 🌸

πŸ’– DESCRIPTION πŸ’–

XkbLatchGroup sends a request to the server to latch the specified group and does not wait for a reply. She’s literally like β€œsent πŸ’…β€ and moves on. It returns True if the request was sent and False otherwise. 🫢

When you’re picking a keysym group index, reference it with these symbolic constants, bestie:

πŸ“Š Table 1 Symbolic Group Names πŸ“Š

  • XkbGroup1Index β€” value 0 ⭐
  • XkbGroup2Index β€” value 1 πŸ’œ
  • XkbGroup3Index β€” value 2 πŸ“
  • XkbGroup4Index β€” value 3 🌈

πŸ’… RETURN VALUES πŸ’…

  • True β€” the XkbLatchGroup function returns True if a request was sent to the server to latch the specified group. βœ…
  • False β€” the XkbLatchGroup function returns False if the request was not sent. ❌

xoxo bestie, this has been XkbLatchGroup(3) from X Version 11, libX11 1.8.14 β€” the footer didn’t hand me a date, so I’m not inventing one, periodt πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from