+
    }c  c                   sJ    ^ RI Ht R tR tR t]! R4       ]! R4       R tR# )	i    )NoSymbolc                sL    \        4       P                  RV ,           \        4      # )zReturn the (16 bit) numeric code of keysym.

Given the name of a keysym as a string, return its numeric code.
Don't include the 'XK_' prefix, just use the base, i.e. 'Delete'
instead of 'XK_Delete'.XK_)globalsZgetr    keysym   &,/usr/lib/python3.14/site-packages/Xlib/XK.pystring_to_keysymr      s     9==22    c                s4   RV 9   d   \        RV ,          4      h\        4       p\        RV ,          V\        4       V .4      p\	        V4       Uu. uF  q3P                  R4      '       g   K  VNK  	  ppV F  pVP                  V,          W&   K  	  ?R# u upi )zLoad all the keysyms in group.

Given a group name such as 'latin1' or 'katakana' load the keysyms
defined in module 'Xlib.keysymdef.group-name' into this XK module.Z.zinvalid keysym group name: %szXlib.keysymdef.%sr   N)Z
ValueErrorr   Z
__import__ZlocalsZdirZ
startswithZ__dict__)ZgroupZGmodZnZkeysymsr   s   &     r   load_keysym_groupr
   $   s    
 e|85@AA	A (50!VXw
GC c(:(Qll5&9qq(G: LL(	 
 	 ;s   B,Bc                s    R# )zkeysym definition modules need no longer call Xlib.XK._load_keysyms_into_XK().
You should remove any calls to that function from your keysym modules.N )r	   r   r   _load_keysyms_into_XKr   <   s     	r   Z
miscellanyZlatin1c           	     s    V R,          ^ 8X  d   \        V ^,          4      # V \        \        \        \        \
        \        \        \        39   d   \        V ^,          4      # R# )zTranslate a keysym (16 bit number) into a python string.

This will pass 0 to 0xff as well as XK_BackSpace, XK_Tab, XK_Clear,
XK_Return, XK_Pause, XK_Scroll_Lock, XK_Escape, XK_Delete. For other
values it returns None.i   N)	ZchrZXK_BackSpaceZXK_TabZXK_ClearZ	XK_ReturnZXK_PauseZXK_Scroll_LockZ	XK_EscapeZ	XK_Deleter   r   r   keysym_to_stringr   F   sS     !6D=!!,)NIyB B6D=!! r   N)ZXlib.Xr    r   r
   r   r   r   r   r   <module>r      s0   4 30	 ,  ( r   