XkbLockGroup(3)

πŸ’– XkbLockGroup(3) πŸ’–

okay bestie, welcome to the XKB FUNCTIONS corner of the libX11 universe β€” this is the XkbLockGroup(3) page, and every little detail is staying exactly where it belongs. 🫢


πŸŽ€ NAME πŸŽ€

XkbLockGroup β€” Locks the keysym group. periodt. πŸ’…


✨ SYNOPSIS ✨

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

🌸 ARGUMENTS 🌸

  • display β€” connection to the X server. like, the whole vibe link to the server, bestie. πŸ”Œ
  • device_spec β€” device ID, or XkbUseCoreKbd. yes, that exact constant. πŸ‘‘
  • group β€” index of the keysym group to lock. the group in question, locked and iconic. πŸ”’

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so XkbLockGroup sends a request to the server to lock the specified group, and it does not wait for a reply. it returns True if the request was sent and False otherwise. no cap. ✨

reference the keysym group indices with these symbolic constants:

🧚 Table 1 Symbolic Group Names 🧚

  • XkbGroup1Index β€” 0
  • XkbGroup2Index β€” 1
  • XkbGroup3Index β€” 2
  • XkbGroup4Index β€” 3

🌈 RETURN VALUES 🌈

  • True β€” the XkbLockGroup function returns True when a request was sent to the server to lock the specified group and does not wait for a reply. slay. πŸ’–
  • False β€” the XkbLockGroup function returns False if the request was not sent. 😭

X Version 11 Β· libX11 1.8.14 Β· XkbLockGroup(3) β€” mwah, bestie πŸ’‹

πŸ“¦ where this page comes from