+
    Qi`  c                  s    R t ^ RIHt RtRtRtRtRt^ RIH	t	 ^ RI
Ht ^ R	I
Ht ^ R
IHt ^ RIHt ^ RIHt ^ RIHt ]	'       d   ^ RIt]P,                  ! RR4       ^ RIHt  ! R R]P2                  4      tR# )&Custom script utilities for Evolution.)annotationsz$Id$z
$Revision$z$Date$zCopyright (c) 2015 Igalia, S.L.ZLGPL)TYPE_CHECKING)input_event_manager)focus_manager)	WebKitGTK)AXObject)AXTable)AXUtilitiesNAtspiz2.0)r	   c                  sJ    ] tR t^/tRtR R ltR R ltR R ltR R	 ltR
t	R# )	Utilitiesr    c                    V ^8  d   QhRRRR/#    objzAtspi.Accessiblereturnbool Zformat   "Q/usr/lib/python3.14/site-packages/orca/scripts/apps/evolution/script_utilities.py__annotate__Utilities.__annotate__2   s     
V 
V/? 
VD 
V    c                s    V P                  V4      '       g   R# \        P                  ! V4      pV'       g   R# V^ ,          ;'       d5    \        P                  ! V^ ,          4      \        P                  ! V4      8g  # )z2Returns True if obj is a message list status cell.F)is_message_list_toggle_cellr   Zget_column_headersr   get_name)selfr   Zheaders   && r   is_message_list_status_cellZ%Utilities.is_message_list_status_cell2   s`     //44,,S1qzUUh//
;x?P?PQT?UUUr   c               r   r   r   r   r   r   r   r   >   s     	6 	6/? 	6D 	6r   c                s    V P                  V4      '       d   R# \        P                  ! V4      '       g   R# V P                  V4      # )z2Returns True if obj is a message list toggle cell.F)is_webkit_gtkr   r   Zhas_meaningful_toggle_action)r   r   s   &&r   r   Z%Utilities.is_message_list_toggle_cell>   s=     c""  %%0055r   c               r   )r   eventzAtspi.Eventr   r   r   r   r   r   r   r   I   s      k d r   c                s   V P                  VP                  4      '       g   R# \        P                  ! 4       P	                  4       '       g   R# \
        P                  ! 4       P                  4       pV P                  V4      '       d   R# \        P                  ! V4      '       g   R# \        P                  ! V\        P                  4      '       g   R# R# )zDReturns True if event is from a document preview and can be ignored.FT)is_document_previewZsourcer   Zget_managerZlast_event_was_unmodified_arrowr   Zget_locus_of_focusr   r   Zis_table_cellr   find_ancestorZis_tree_or_tree_table)r   r   Zfocusr   r   (is_ignorable_event_from_document_previewZ2Utilities.is_ignorable_event_from_document_previewI   s     ''55"..0PPRR))+>>@e$$((//%%e[-N-NOOr   c               r   r   r   r   r   r   r   r   \   s     O O'7 OD Or   c                s,   V P                  V4      '       g   R# \        P                  ! V4      '       d   TpM%\        P                  ! V\        P                  4      pV'       g   R# \        \        P                  ! V\        P                  4      4      # )z=Returns True if obj is or descends from the preview document.F)r   r   Zis_documentr   r    r   Zis_page_tab)r   r   Zdocumentr   r   r   ZUtilities.is_document_preview\   sj     !!#&&""3''H--c;3J3JKHH**8[5L5LMNNr   r   N)
Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   r   r!   r   Z__static_attributes__r   r   r   r
   r
   /   s!    0
V	6&O Or   r
   )r"   Z
__future__r   Z__id__Z__version__Z__date__Z__copyright__Z__license__Ztypingr   Zorcar   r   Zorca.scripts.toolkitsr   Zorca.ax_objectr   Zorca.ax_tabler   Zorca.ax_utilitiesr   ZgiZrequire_versionZgi.repositoryr	   r
   r   r   r   <module>r#      sh   , - "1   $  + # ! )w&#:O	## :Or   