ó
    NÎh©	  ã                  óŠ   • S r SSKJr  SSKJr  SSKJr  / SQr " S S\5      r " S	 S
\5      r	 " S S\5      r
 " S S5      rg)a˜  
Mouse events.


How it works
------------

The renderer has a 2 dimensional grid of mouse event handlers.
(`prompt_toolkit.layout.MouseHandlers`.) When the layout is rendered, the
`Window` class will make sure that this grid will also be filled with
callbacks. For vt100 terminals, mouse events are received through stdin, just
like any other key press. There is a handler among the key bindings that
catches these events and forwards them to such a mouse event handler. It passes
through the `Window` class where the coordinates are translated from absolute
coordinates to coordinates relative to the user control, and there
`UIControl.mouse_handler` is called.
é    )Úannotations)ÚEnumé   )ÚPoint)ÚMouseEventTypeÚMouseButtonÚMouseModifierÚ
MouseEventc                  ó(   • \ rS rSrSrSrSrSrSrSr	g)	r   é   ÚMOUSE_UPÚ
MOUSE_DOWNÚ	SCROLL_UPÚSCROLL_DOWNÚ
MOUSE_MOVE© N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   r   r   r   Ú__static_attributes__r   ó    ÚX/home/mande/repo/quber/.venv/lib/python3.13/site-packages/prompt_toolkit/mouse_events.pyr   r      s!   † ð €Hð €Jà€IØ€Kð ƒJr   r   c                  ó(   • \ rS rSrSrSrSrSrSrSr	g)	r   é,   ÚLEFTÚMIDDLEÚRIGHTÚNONEÚUNKNOWNr   N)
r   r   r   r   r   r   r   r   r    r   r   r   r   r   r   ,   s   † Ø€DØ€FØ€Eð €Dð
 ƒGr   r   c                  ó    • \ rS rSrSrSrSrSrg)r	   é:   ÚSHIFTÚALTÚCONTROLr   N)r   r   r   r   r#   r$   r%   r   r   r   r   r	   r	   :   s   † Ø€EØ
€CØƒGr   r	   c                  ó@   • \ rS rSrSr          SS jrSS jrSrg)	r
   é@   zz
Mouse event, sent to `UIControl.mouse_handler`.

:param position: `Point` instance.
:param event_type: `MouseEventType`.
c                ó4   • Xl         X l        X0l        X@l        g )N©ÚpositionÚ
event_typeÚbuttonÚ	modifiers)Úselfr*   r+   r,   r-   s        r   Ú__init__ÚMouseEvent.__init__H   s   € ð !ŒØ$ŒØŒØ"�r   c           	     óx   • SU R                   < SU R                  < SU R                  < SU R                  < S3	$ )NzMouseEvent(Ú,Ú)r)   )r.   s    r   Ú__repr__ÚMouseEvent.__repr__T   s;   € Ø˜TŸ]™]Ñ-¨Q¨t¯©Ñ.AÀÀ4Ç;Á;Á/ÐQRÐSW×SaÑSaÑRdÐdeÐfÐfr   )r,   r+   r-   r*   N)
r*   r   r+   r   r,   r   r-   zfrozenset[MouseModifier]ÚreturnÚNone)r6   Ústr)r   r   r   r   Ú__doc__r/   r4   r   r   r   r   r
   r
   @   sB   † ñð
#àð
#ð #ð
#ð ð	
#ð
 ,ð
#ð 
ô
#÷gr   r
   N)r9   Ú
__future__r   Úenumr   Údata_structuresr   Ú__all__r   r   r	   r
   r   r   r   Ú<module>r>      sJ   ðñõ$ #å å "â
J€ô�Tô ô �$ô ô�Dô ÷gò gr   