+
    Qi[ c                   s    R t RtRtRtRtRt^ RIt^ RIt^ RIH	t	 ^ RI
t
]
P                  ! RR	4       ^ 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 ^RIHt  ! R R4      tR# )?Utilities for finding all objects that meet a certain criteria.z$Id$z
$Revision$z$Date$zCopyright (c) 2023 Igalia, S.L.ZLGPLN)CallableAtspiz2.0)r   )debug)AXCollection)AXObject)AXUtilitiesDebugging)AXUtilitiesRelation)AXUtilitiesRole)AXUtilitiesStatec                   s  a  ] tR t^2t o Rt]V 3R lR l4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R	 lR
 ll4       t	]ERV 3R lR ll4       t
]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR  ll4       t]ERV 3R! lR" ll4       t]ERV 3R# lR$ ll4       t]ERV 3R% lR& ll4       t]ERV 3R' lR( ll4       t]ERV 3R) lR* ll4       t]ERV 3R+ lR, ll4       t]ERV 3R- lR. ll4       t]ERV 3R/ lR0 ll4       t]ERV 3R1 lR2 ll4       t]ERV 3R3 lR4 ll4       t]ERV 3R5 lR6 ll4       t]ERV 3R7 lR8 ll4       t ]ERV 3R9 lR: ll4       t!]ERV 3R; lR< ll4       t"]ERV 3R= lR> ll4       t#]ERV 3R? lR@ ll4       t$]ERV 3RA lRB ll4       t%]ERV 3RC lRD ll4       t&]ERV 3RE lRF ll4       t']ERV 3RG lRH ll4       t(]ERV 3RI lRJ ll4       t)]ERV 3RK lRL ll4       t*]ERV 3RM lRN ll4       t+]ERV 3RO lRP ll4       t,]ERV 3RQ lRR ll4       t-]ERV 3RS lRT ll4       t.]ERV 3RU lRV ll4       t/]ERV 3RW lRX ll4       t0]ERV 3RY lRZ ll4       t1]ERV 3R[ lR\ ll4       t2]ERV 3R] lR^ ll4       t3]ERV 3R_ lR` ll4       t4]ERV 3Ra lRb ll4       t5]ERV 3Rc lRd ll4       t6]ERV 3Re lRf ll4       t7]ERV 3Rg lRh ll4       t8]ERV 3Ri lRj ll4       t9]ERV 3Rk lRl ll4       t:]ERV 3Rm lRn ll4       t;]ERV 3Ro lRp ll4       t<]ERV 3Rq lRr ll4       t=]ERV 3Rs lRt ll4       t>]ERV 3Ru lRv ll4       t?]ERV 3Rw lRx ll4       t@]ERV 3Ry lRz ll4       tA]ERV 3R{ lR| ll4       tB]ERV 3R} lR~ ll4       tC]ERV 3R lR ll4       tD]ERV 3R lR ll4       tE]ERV 3R lR ll4       tF]ERV 3R lR ll4       tG]ERV 3R lR ll4       tH]ERV 3R lR ll4       tI]ERV 3R lR ll4       tJ]ERV 3R lR ll4       tK]ERV 3R lR ll4       tL]ERV 3R lR ll4       tM]ERV 3R lR ll4       tN]ERV 3R lR ll4       tO]ERV 3R lR ll4       tP]ERV 3R lR ll4       tQ]ERV 3R lR ll4       tR]ERV 3R lR ll4       tS]ERV 3R lR ll4       tT]ERV 3R lR ll4       tU]ERV 3R lR ll4       tV]ERV 3R lR ll4       tW]ERV 3R lR ll4       tX]ERV 3R lR ll4       tY]ERV 3R lR ll4       tZ]ERV 3R lR ll4       t[]ERV 3R lR ll4       t\]ERV 3R lR ll4       t]]ERV 3R lR ll4       t^]ERV 3R lR ll4       t_]ERV 3R lR ll4       t`]ERV 3R lR ll4       ta]ERV 3R lR ll4       tb]ERV 3R lR ll4       tc]ERV 3R lR ll4       td]ERV 3R lR ll4       te]ERV 3R lR ll4       tf]ERV 3R lR ll4       tg]ERV 3R lR ll4       th]ERV 3R lR ll4       ti]ERV 3R lR ll4       tj]ERV 3R lR ll4       tk]ERV 3R lR ll4       tl]ERV 3R lR ll4       tm]ERV 3R lR ll4       tn]ERV 3R lR ll4       to]ERV 3R lR ll4       tp]ERV 3R lR ll4       tq]ERV 3R lR ll4       tr]ERV 3R lR ll4       ts]ERV 3R lR ll4       tt]ERV 3R lR ll4       tu]ERV 3R lR ll4       tv]ERV 3R lR ll4       tw]ERV 3R lR ll4       tx]ERV 3R lR ll4       ty]ERV 3R lR ll4       tz]ERV 3R lR ll4       t{]ERV 3R lR ll4       t|]ERV 3R lR ll4       t}]ERV 3R lR ll4       t~]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lR ll4       t]ERV 3R lER  ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER	 lER
 ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER  ll4       t]ERV 3ER! lER" ll4       t]ERV 3ER# lER$ ll4       t]ERV 3ER% lER& ll4       t]ERV 3ER' lER( ll4       t]ERV 3ER) lER* ll4       t]ERV 3ER+ lER, ll4       t]ERV 3ER- lER. ll4       t]ERV 3ER/ lER0 ll4       t]ERV 3ER1 lER2 ll4       t]ERV 3ER3 lER4 ll4       t]ERV 3ER5 lER6 ll4       t]ERV 3ER7 lER8 ll4       t]ERV 3ER9 lER: ll4       t]ERV 3ER; lER< ll4       t]ERV 3ER= lER> ll4       t]ERV 3ER? lER@ ll4       t]ERV 3ERA lERB ll4       t]ERV 3ERC lERD ll4       t]ERV 3ERE lERF ll4       t]ERV 3ERG lERH ll4       t]ERV 3ERI lERJ ll4       t]ERV 3ERK lERL ll4       t]ERV 3ERM lERN ll4       t]ERV 3ERO lERP ll4       t]ERV 3ERQ lERR ll4       t]ERV 3ERS lERT ll4       t]ERV 3ERU lERV ll4       t]ERV 3ERW lERX ll4       t]ERV 3ERY lERZ ll4       t]ERV 3ER[ lER\ ll4       t]ERV 3ER] lER^ ll4       t]ERV 3ER_ lER` ll4       t]ERV 3ERa lERb ll4       t]ERV 3ERc lERd ll4       t]ERV 3ERe lERf ll4       t]ERV 3ERg lERh ll4       t]ERV 3ERi lERj ll4       t]ERV 3ERk lERl ll4       t]ERV 3ERm lERn ll4       t]ERV 3ERo lERp ll4       t]ERV 3ERq lERr ll4       t]ERV 3ERs lERt ll4       t]ERV 3ERu lERv ll4       t]ERV 3ERw lERx ll4       t]ERV 3ERy lERz ll4       t]ERV 3ER{ lER| ll4       t]ERV 3ER} lER~ ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]ERV 3ER lER ll4       t]V 3ER lER l4       t]V 3ER lER l4       t]V 3ER lER l4       t]V 3ER lER l4       t]V 3ER lER l4       t]V 3ER lER l4       t]V 3ER lER l4       t]V 3ER lER l4       t]V 3ER lER l4       tERtV tR# (  AXUtilitiesCollectionr    c                s   < V ^8  d   QhRS[ S[P                  ,          RS[S[P                  .S[3,          RS[ S[P                  ,          /# )   matchespredreturn)listr   
Accessibler   boolZformat__classdict__   "A/usr/lib/python3.14/site-packages/orca/ax_utilities_collection.py__annotate__"AXUtilitiesCollection.__annotate__6   sP      e&&'(()4/0 
e	    c                sf   V '       g   . # \         P                   ! 4       pR V.p\        P                  ! \        P                  VR4       \	        \        W4      4      p R\        V 4       R\         P                   ! 4       V,
          R R2p\        P                  ! \        P                  VR4       V # )z*AXUtilitiesCollection: Applying predicate TzAXUtilitiesCollection: z matches found in z.4fZs)timer   print_tokens
LEVEL_INFOr   filterZlenZprint_message)r   r   ZstarttokensZmsgs   &&   r   _apply_predicateZ&AXUtilitiesCollection._apply_predicate5   s    
 I		>E5++VT:vd,-'G~5G		V[H[\_G``abE,,c48r   Nc                   < V ^8  d   QhRS[ P                  RS[S[ P                  ,          RS[ P                  RS[S[ P                  .S[3,          R,          RS[S[ P                  ,          /# )r   root
state_liststate_match_typer   Nr   )r   r   r   	StateTypeCollectionMatchTyper   r   r   r   r   r   r   G   ss      )  33 (()4/047	
 
e	r   c                N   V '       d	   V'       g   . # \        V4      pR \        P                  ! 4       RWRV.p\        P                  ! \        P
                  VR4       \        P                  ! WR7      p\        P                  ! W4      pVe   \        P                  Wc4      pV# )AXUtilitiesCollection:Root:of:T)statesr"   r   inspectcurrentframer   r   r   r   create_match_ruleget_all_matchesr
   r   )r    r!   r"   r   r   ruler      &&&&   r   _find_all_with_statesZ+AXUtilitiesCollection._find_all_with_statesF   s     I*%
*G,@,@,B45*F5++VT:--Zc..t:+<<WKGr   c                r   )r   r    	role_listrole_match_typer   Nr   )r   r   r   Roler$   r   r   r   r   r   r   r   ]   ss      

# 22 (()4/047	
 
e	r   c                r%   )r&   r'   r(   T)rolesr3   r*   )r    r2   r3   r   r   r/   r   r0   r   _find_all_with_roleZ)AXUtilitiesCollection._find_all_with_role\   s     IO	*G,@,@,B4%D5++VT:--I_..t:+<<WKGr   c          	      s   < V ^8  d   QhRS[ P                  RS[S[,          RS[S[ P                  .S[3,          R,          RS[S[ P                  ,          /# )r   r    interface_listr   Nr   )r   r   r   Zstrr   r   r   r   r   r   r   s   s^      S	 (()4/047 
e		r   c                sN   V '       d	   V'       g   . # \        V4      pR\        P                  ! 4       RV RV.p\        P                  ! \        P
                  VR4       \        P                  ! VR7      p\        P                  ! W4      pVe   \        P                  WR4      pV# )zLReturns all descendants of root which implement all the specified interfacesr&   r'   zall of:T)
interfacesr*   )r    r7   r   r   r/   r      &&&   r   find_all_with_interfacesZ.AXUtilitiesCollection.find_all_with_interfacesr   s     In-*G,@,@,B4N<5++VT:--H..t:+<<WKGr   c          	         < V ^8  d   QhRS[ P                  RS[S[ P                  ,          RS[S[ P                  .S[3,          R,          RS[S[ P                  ,          /# r   r    r2   r   Nr   r   r   r   r4   r   r   r   r   r   r   r      si     B BB

#B (()4/047B 
e		Br   c                `    \         P                  W\        P                  P                  V4      # )z?Returns all descendants of root with any of the specified roles)r
   r6   r   r$   ANYr    r2   r      &&&r   find_all_with_roleZ(AXUtilitiesCollection.find_all_with_role   s,     %88U66::DB 	Br   c          	      r;   r<   r=   r   r   r   r   r      si     C CC

#C (()4/047C 
e		Cr   c                r>   )zFReturns all descendants of root which have none of the specified roles)r
   r6   r   r$   NONEr@   rA   r   find_all_without_rolesZ,AXUtilitiesCollection.find_all_without_roles   s,     %88U66;;TC 	Cr   c                   < V ^8  d   QhRS[ P                  RS[S[ P                  ,          RS[S[ P                  ,          RS[S[ P                  .S[3,          R,          RS[S[ P                  ,          /# r   r    r2   r!   r   Nr   r   r   r   r4   r#   r   r   r   r   r   r   r      v      

# ) (()4/047	
 
e	r   c                   V '       d   V'       d	   V'       g   . # \        V4      p\        V4      pR\        P                  ! 4       RV RVRV.p\        P                  ! \        P
                  VR4       \        P                  ! W\        P                  P                  R7      p\        P                  ! W4      pVe   \        P                  Wc4      pV# )zIReturns all descendants of root with any of the roles, and all the statesr&   r'   Roles:States:Tr5   r)   r"   )r   r+   r,   r   r   r   r   r-   r   r$   ALLr.   r
   r   r    r2   r!   r   r   r/   r   r0   r   !find_all_with_role_and_all_statesZ7AXUtilitiesCollection.find_all_with_role_and_all_states        zIO	*%
*G,@,@,B49iM5++VT:--AZAZA^A^`..t:+<<WKGr   c                rE   rF   rG   r   r   r   r   r      rH   r   c                rI   )zLReturns all descendants of root with any of the roles, and any of the statesr&   r'   rJ   rK   TrL   )r   r+   r,   r   r   r   r   r-   r   r$   r?   r.   r
   r   rN   r0   r    find_all_with_role_and_any_stateZ6AXUtilitiesCollection.find_all_with_role_and_any_state   rP   r   c                rE   rF   rG   r   r   r   r   r      rH   r   c                rI   )zMReturns all descendants of root with any of the roles, and none of the statesr&   r'   rJ   rK   TrL   )r   r+   r,   r   r   r   r   r-   r   r$   rC   r.   r
   r   rN   r0   r   !find_all_with_role_without_statesZ7AXUtilitiesCollection.find_all_with_role_without_states   s     zIO	*%
*G,@,@,B49iM5++VT:--AZAZA_A_a..t:+<<WKGr   c          	      r;   r   r    r!   r   Nr   r   r   r   r#   r   r   r   r   r   r   r      i     C CC)C (()4/047C 
e		Cr   c                r>   )zFReturns all descendants of root which have all of the specified states)r
   r1   r   r$   rM   r    r!   r   rA   r   find_all_with_statesZ*AXUtilitiesCollection.find_all_with_states   ,     %::e77;;TC 	Cr   c          	      r;   rS   rT   r   r   r   r   r      rU   r   c                r>   )zFReturns all descendants of root which have any of the specified states)r
   r1   r   r$   r?   rV   rA   r   find_all_with_any_stateZ-AXUtilitiesCollection.find_all_with_any_state   rX   r   c          	      r;   rS   rT   r   r   r   r   r     si     D DD)D (()4/047D 
e		Dr   c                r>   )zGReturns all descendants of root which have none of the specified states)r
   r1   r   r$   rC   rV   rA   r   find_all_without_statesZ-AXUtilitiesCollection.find_all_without_states  s,     %::e77<<dD 	Dr   c                   < V ^8  d   QhRS[ P                  RS[S[ P                  .S[3,          R,          RS[S[ P                  ,          /# r   r    r   Nr   r   r   r   r   r   r   r   r   r   r     U     K KK(()4/047K 
e	Kr   c                d    \         P                  P                  .p\        P	                  WV4      # )z?Returns all descendants of root with the accelerator label role)r   r4   ZACCELERATOR_LABELr
   rB   r    r   r5      && r   find_all_accelerator_labelsZ1AXUtilitiesCollection.find_all_accelerator_labels  )     --.$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z3Returns all descendants of root with the alert role)r   r4   ZALERTr
   rB   r`   ra   r   find_all_alertsZ%AXUtilitiesCollection.find_all_alerts  )     !!"$77TJJr   c                r[   r\   r]   r   r   r   r   r   #  r^   r   c                r_   )z7Returns all descendants of root with the animation role)r   r4   Z	ANIMATIONr
   rB   r`   ra   r   find_all_animationsZ)AXUtilitiesCollection.find_all_animations"  )     %%&$77TJJr   c                r[   r\   r]   r   r   r   r   r   -  r^   r   c                r_   )z3Returns all descendants of root with the arrow role)r   r4   ZARROWr
   rB   r`   ra   r   find_all_arrowsZ%AXUtilitiesCollection.find_all_arrows,  re   r   c                r[   r\   r]   r   r   r   r   r   7  r^   r   c                r_   )z5Returns all descendants of root with the article role)r   r4   ZARTICLEr
   rB   r`   ra   r   find_all_articlesZ'AXUtilitiesCollection.find_all_articles6  )     ##$$77TJJr   c                r[   r\   r]   r   r   r   r   r   A  r^   r   c                r_   )z3Returns all descendants of root with the audio role)r   r4   ZAUDIOr
   rB   r`   ra   r   find_all_audiosZ%AXUtilitiesCollection.find_all_audios@  re   r   c                r[   r\   r]   r   r   r   r   r   K  r^   r   c                r_   )z:Returns all descendants of root with the autocomplete role)r   r4   ZAUTOCOMPLETEr
   rB   r`   ra   r   find_all_autocompletesZ,AXUtilitiesCollection.find_all_autocompletesJ  )     (()$77TJJr   c                r[   r\   r]   r   r   r   r   r   U  r^   r   c                r_   )z9Returns all descendants of root with the block quote role)r   r4   ZBLOCK_QUOTEr
   rB   r`   ra   r   find_all_block_quotesZ+AXUtilitiesCollection.find_all_block_quotesT  )     ''($77TJJr   c                r[   r\   r]   r   r   r   r   r   _  r^   r   c                    \         P                  P                  \         P                  P                  .p\        P                  WV4      # )zDReturns all descendants of root with the push- or toggle-button role)r   r4   PUSH_BUTTONTOGGLE_BUTTONr
   rB   r`   ra   r   find_all_buttonsZ&AXUtilitiesCollection.find_all_buttons^  s5     '')A)AB$77TJJr   c                r[   r\   r]   r   r   r   r   r   i  r^   r   c                r_   )z6Returns all descendants of root with the calendar role)r   r4   ZCALENDARr
   rB   r`   ra   r   find_all_calendarsZ(AXUtilitiesCollection.find_all_calendarsh  )     $$%$77TJJr   c                r[   r\   r]   r   r   r   r   r   s  r^   r   c                r_   )z4Returns all descendants of root with the canvas role)r   r4   CANVASr
   rB   r`   ra   r   find_all_canvasesZ'AXUtilitiesCollection.find_all_canvasesr  )     ""#$77TJJr   c                r[   r\   r]   r   r   r   r   r   }  r^   r   c                r_   )z5Returns all descendants of root with the caption role)r   r4   CAPTIONr
   rB   r`   ra   r   find_all_captionsZ'AXUtilitiesCollection.find_all_captions|  rj   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z3Returns all descendants of root with the chart role)r   r4   ZCHARTr
   rB   r`   ra   r   find_all_chartsZ%AXUtilitiesCollection.find_all_charts  re   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z6Returns all descendants of root with the checkbox role)r   r4   Z	CHECK_BOXr
   rB   r`   ra   r   find_all_check_boxesZ*AXUtilitiesCollection.find_all_check_boxes  rg   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z<Returns all descendants of root with the check menuitem role)r   r4   ZCHECK_MENU_ITEMr
   rB   r`   ra   r   find_all_check_menu_itemsZ/AXUtilitiesCollection.find_all_check_menu_items  )     ++,$77TJJr   c                r[   r\   r]   r   r   r   r   r     sP     ( (((()4/047( 
e	(r   c           
     s>  a V f   . # R.p\         P                  P                  .p\         P                  P                  p\
        P                  ! 4       p\         P                  P                  pR.p\         P                  P                  pR\        P                  ! 4       RWRVRS.	p	\        P                  ! \        P                  V	R4       V3R lp
\        P                  ! VVVVVVVR	7      p\        P                  ! W4      p\        P!                  W4      pV# )
zLReturns all non-focusable descendants of root which support the click actionActionzxml-roles:gridcellr&   r'   r(   . pred:Tc                    < \         P                  ! V R 4      pRV \        P                  ! V 4      RV.p\        P
                  ! \        P                  VR4       V'       g   R# SRJ ;'       g	    S! V 4      # )Zclickr&   zhas click Action:TFNr   Z
has_actionr   Zactions_as_stringr   r   r   objresultr   r      &  r   is_matchZ;AXUtilitiesCollection.find_all_clickables.<locals>.is_match  si    ((g6F.5I5[5[\_5`)63Fu//>4<,,49,r   )r8   
attributesattribute_match_typer5   r3   r)   r"   )r   r#   	FOCUSABLEr$   rC   r   )get_roles_to_exclude_from_clickables_listr+   r,   r   r   r   r   r-   r.   r
   r   )r    r   r8   r)   r"   r5   roles_match_typer   r   r   r   r/   r   s   &f           r   find_all_clickablesZ)AXUtilitiesCollection.find_all_clickables  s    <IZ
//++, 4499IIK 4499*+
$88==*G,@,@,B45%DR5++VT:	- --!!!5,-/ ..t:'88Kr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z;Returns all descendants of root with the color_chooser role)r   r4   ZCOLOR_CHOOSERr
   rB   r`   ra   r   find_all_color_choosersZ-AXUtilitiesCollection.find_all_color_choosers  )     ))*$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z;Returns all descendants of root with the column header role)r   r4   ZCOLUMN_HEADERr
   rB   r`   ra   r   find_all_column_headersZ-AXUtilitiesCollection.find_all_column_headers  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z6Returns all descendants of root with the combobox role)r   r4   	COMBO_BOXr
   rB   r`   ra   r   find_all_combo_boxesZ*AXUtilitiesCollection.find_all_combo_boxes  rg   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z5Returns all descendants of root with the comment role)r   r4   ZCOMMENTr
   rB   r`   ra   r   find_all_commentsZ'AXUtilitiesCollection.find_all_comments  rj   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z>Returns all descendants of root with the content deletion role)r   r4   ZCONTENT_DELETIONr
   rB   r`   ra   r   find_all_content_deletionsZ0AXUtilitiesCollection.find_all_content_deletions  )     ,,-$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z?Returns all descendants of root with the content insertion role)r   r4   ZCONTENT_INSERTIONr
   rB   r`   ra   r   find_all_content_insertionsZ1AXUtilitiesCollection.find_all_content_insertions  rc   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z9Returns all descendants of root with the date editor role)r   r4   ZDATE_EDITORr
   rB   r`   ra   r   find_all_date_editorsZ+AXUtilitiesCollection.find_all_date_editors  ro   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z8Returns all descendants of root with the definition role)r   r4   Z
DEFINITIONr
   rB   r`   ra   r   find_all_definitionsZ*AXUtilitiesCollection.find_all_definitions  )     &&'$77TJJr   c                r[   r\   r]   r   r   r   r   r      r^   r   c                r_   )z>Returns all descendants of root with the description list role)r   r4   DESCRIPTION_LISTr
   rB   r`   ra   r   find_all_description_listsZ0AXUtilitiesCollection.find_all_description_lists  r   r   c                r[   r\   r]   r   r   r   r   r   *  r^   r   c                r_   )z>Returns all descendants of root with the description term role)r   r4   DESCRIPTION_TERMr
   rB   r`   ra   r   find_all_description_termsZ0AXUtilitiesCollection.find_all_description_terms)  r   r   c                r[   r\   r]   r   r   r   r   r   4  r^   r   c                r_   )z?Returns all descendants of root with the description value role)r   r4   ZDESCRIPTION_VALUEr
   rB   r`   ra   r   find_all_description_valuesZ1AXUtilitiesCollection.find_all_description_values3  rc   r   c                r[   r\   r]   r   r   r   r   r   >  r^   r   c                r_   )z;Returns all descendants of root with the desktop frame role)r   r4   ZDESKTOP_FRAMEr
   rB   r`   ra   r   find_all_desktop_framesZ-AXUtilitiesCollection.find_all_desktop_frames=  r   r   c                r[   r\   r]   r   r   r   r   r   H  r^   r   c                r_   )z:Returns all descendants of root with the desktop icon role)r   r4   ZDESKTOP_ICONr
   rB   r`   ra   r   find_all_desktop_iconsZ,AXUtilitiesCollection.find_all_desktop_iconsG  rm   r   c                r[   r\   r]   r   r   r   r   r   R  r^   r   c                r_   )z2Returns all descendants of root with the dial role)r   r4   ZDIALr
   rB   r`   ra   r   find_all_dialsZ$AXUtilitiesCollection.find_all_dialsQ  '     !$77TJJr   c                r[   r\   r]   r   r   r   r   r   \  r^   r   c                r_   )z4Returns all descendants of root with the dialog role)r   r4   ZDIALOGr
   rB   r`   ra   r   find_all_dialogsZ&AXUtilitiesCollection.find_all_dialogs[  rx   r   c                r[   r\   r]   r   r   r   r   r   f  r^   r   c                sZ    \         P                  ! R4      p\        P                  WV4      # )zAReturns all descendants of root that has any dialog or alert roleT)r   get_dialog_rolesr
   rB   r`   ra   r   find_all_dialogs_and_alertsZ1AXUtilitiesCollection.find_all_dialogs_and_alertse  s'      006$77TJJr   c                r[   r\   r]   r   r   r   r   r   p  r^   r   c                r_   )z<Returns all descendants of root with the directory pane role)r   r4   ZDIRECTORY_PANEr
   rB   r`   ra   r   find_all_directory_panesZ.AXUtilitiesCollection.find_all_directory_paneso  )     **+$77TJJr   c                r[   r\   r]   r   r   r   r   r   z  r^   r   c                X    \         P                  ! 4       p\        P                  WV4      # )zBReturns all descendants of root that has any document-related role)r   Zget_document_rolesr
   rB   r`   ra   r   find_all_documentsZ(AXUtilitiesCollection.find_all_documentsy  s%      224$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z<Returns all descendants of root with the document email role)r   r4   ZDOCUMENT_EMAILr
   rB   r`   ra   r   find_all_document_emailsZ.AXUtilitiesCollection.find_all_document_emails  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z<Returns all descendants of root with the document frame role)r   r4   ZDOCUMENT_FRAMEr
   rB   r`   ra   r   find_all_document_framesZ.AXUtilitiesCollection.find_all_document_frames  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )zCReturns all descendants of root with the document presentation role)r   r4   ZDOCUMENT_PRESENTATIONr
   rB   r`   ra   r   find_all_document_presentationsZ5AXUtilitiesCollection.find_all_document_presentations  s)     112$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )zBReturns all descendants of root with the document spreadsheet role)r   r4   ZDOCUMENT_SPREADSHEETr
   rB   r`   ra   r   find_all_document_spreadsheetsZ4AXUtilitiesCollection.find_all_document_spreadsheets  s)     001$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z;Returns all descendants of root with the document text role)r   r4   ZDOCUMENT_TEXTr
   rB   r`   ra   r   find_all_document_textsZ-AXUtilitiesCollection.find_all_document_texts  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z:Returns all descendants of root with the document web role)r   r4   ZDOCUMENT_WEBr
   rB   r`   ra   r   find_all_document_websZ,AXUtilitiesCollection.find_all_document_webs  rm   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z:Returns all descendants of root with the drawing area role)r   r4   ZDRAWING_AREAr
   rB   r`   ra   r   find_all_drawing_areasZ,AXUtilitiesCollection.find_all_drawing_areas  rm   r   c          	         < V ^8  d   QhRS[ P                  RS[RS[S[ P                  .S[3,          R,          RS[S[ P                  ,          /# r   r    must_be_focusabler   Nr   r   r   r   r   r   r   r   r   r   r     s`     
N 
N
N
N (()4/047
N 
e		
Nr   c                    \         P                  P                  .pV'       d*   VP                  \         P                  P                  4       \
        P                  WV4      # )z2Returns all descendants of root which are editable)r   r#   EDITABLEappendr   r
   rW   )r    r   r   r)      &&& r   find_all_editable_objectsZ/AXUtilitiesCollection.find_all_editable_objects  sB     //**+MM%//334$99$MMr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z5Returns all descendants of root with the editbar role)r   r4   ZEDITBARr
   rB   r`   ra   r   find_all_editbarsZ'AXUtilitiesCollection.find_all_editbars  rj   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z6Returns all descendants of root with the embedded role)r   r4   ZEMBEDDEDr
   rB   r`   ra   r   find_all_embeddedsZ(AXUtilitiesCollection.find_all_embeddeds  ru   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z3Returns all descendants of root with the entry role)r   r4   ENTRYr
   rB   r`   ra   r   find_all_entriesZ&AXUtilitiesCollection.find_all_entries  re   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z6Returns all descendants of root with the extended role)r   r4   ZEXTENDEDr
   rB   r`   ra   r   find_all_extendedsZ(AXUtilitiesCollection.find_all_extendeds  ru   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z:Returns all descendants of root with the file chooser role)r   r4   ZFILE_CHOOSERr
   rB   r`   ra   r   find_all_file_choosersZ,AXUtilitiesCollection.find_all_file_choosers  rm   r   c                r[   r\   r]   r   r   r   r   r   	  r^   r   c                r_   )z4Returns all descendants of root with the filler role)r   r4   ZFILLERr
   rB   r`   ra   r   find_all_fillersZ&AXUtilitiesCollection.find_all_fillers  rx   r   c                r[   r\   r]   r   r   r   r   r     U     N NN(()4/047N 
e	Nr   c                r_   )z3Returns all descendants of root which are focusable)r   r#   r   r
   rW   r    r   r)   ra   r   find_all_focusable_objectsZ0AXUtilitiesCollection.find_all_focusable_objects  s)     //++,$99$MMr   c                r[   r\   r]   r   r   r   r   r     sP     $ $$(()4/047$ 
e	$r   c           	     s   a V f   . # R.p\         P                  P                  .p\         P                  P                  p\
        P                  ! 4       p\         P                  P                  pR\        P                  ! 4       RWRVRS.	p\        P                  ! \        P                  VR4       V3R lp\        P                  ! VVVVVR7      p	\        P                  ! W	4      p
\         P#                  W4      p
V
# )	zQReturns all focusable descendants of root which support the click-ancestor actionr   r&   r'   r(   r   Tc                 r   )zclick-ancestorr&   zhas click-ancestor Action:TFNr   r   r   r   r   ZVAXUtilitiesCollection.find_all_focusable_objects_with_click_ancestor.<locals>.is_match0  sj    ((.>?F.5I5[5[\_5`2F<Fu//>4<,,49,r   )r8   r5   r3   r)   r"   )r   r#   r   r$   r?   r   r   rC   r+   r,   r   r   r   r   r-   r.   r
   r   )r    r   r8   r)   r"   r5   r   r   r   r/   r   s   &f         r   .find_all_focusable_objects_with_click_ancestorZDAXUtilitiesCollection.find_all_focusable_objects_with_click_ancestor  s     <IZ
//++, 4488IIK 4499*G,@,@,B45%DR5++VT:	- --!,-/ ..t:'88Kr   c                r[   r\   r]   r   r   r   r   r   D  r   r   c                r_   )z1Returns all descendants of root which are focused)r   r#   FOCUSEDr
   rW   r   ra   r   find_all_focused_objectsZ.AXUtilitiesCollection.find_all_focused_objectsC  )     //))*$99$MMr   c                r[   r\   r]   r   r   r   r   r   N  r^   r   c                r_   )z?Returns all descendants of root with the focus traversable role)r   r4   ZFOCUS_TRAVERSABLEr
   rB   r`   ra   r   find_all_focus_traversablesZ1AXUtilitiesCollection.find_all_focus_traversablesM  rc   r   c                r[   r\   r]   r   r   r   r   r   X  r^   r   c                r_   )z:Returns all descendants of root with the font chooser role)r   r4   ZFONT_CHOOSERr
   rB   r`   ra   r   find_all_font_choosersZ,AXUtilitiesCollection.find_all_font_choosersW  rm   r   c                r[   r\   r]   r   r   r   r   r   b  r^   r   c                r_   )z4Returns all descendants of root with the footer role)r   r4   ZFOOTERr
   rB   r`   ra   r   find_all_footersZ&AXUtilitiesCollection.find_all_footersa  rx   r   c                r[   r\   r]   r   r   r   r   r   l  r^   r   c                r_   )z6Returns all descendants of root with the footnote role)r   r4   ZFOOTNOTEr
   rB   r`   ra   r   find_all_footnotesZ(AXUtilitiesCollection.find_all_footnotesk  ru   r   c                r[   r\   r]   r   r   r   r   r   v  r^   r   c                r_   )z2Returns all descendants of root with the form role)r   r4   ZFORMr
   rB   r`   ra   r   find_all_formsZ$AXUtilitiesCollection.find_all_formsu  r   r   c          	      r   r   r   r   r   r   r   r     `     b bbb (()4/047b 
e		br   c                s    \         P                  ! 4       pV'       g   \        P                  WV4      # \        P
                  P                  .p\        P                  WWB4      # )z>Returns all descendants of root with a form-field-related role)r   Zget_form_field_rolesr
   rB   r   r#   r   rO   r    r   r   r5   r)      &&&  r   find_all_form_fieldsZ*AXUtilitiesCollection.find_all_form_fields  sN      446 (;;DNN//++,$FFtTZaar   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z3Returns all descendants of root with the frame role)r   r4   ZFRAMEr
   rB   r`   ra   r   find_all_framesZ%AXUtilitiesCollection.find_all_frames  re   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z8Returns all descendants of root with the glass pane role)r   r4   Z
GLASS_PANEr
   rB   r`   ra   r   find_all_glass_panesZ*AXUtilitiesCollection.find_all_glass_panes  r   r   c                r[   r\   r]   r   r   r   r   r     sP      (()4/047 
e	r   c                s\   V f   . # R\         P                  ! 4       RV RV.p\        P                  ! \        P                  VR4       \
        P                  P                  .pR.p\        P                  ! W4R7      p\        P                  ! W4      pVe   \        P                  Wa4       V# )z.Returns all descendants of root that are gridsr&   r'   pred:Tzxml-roles:gridr5   r   )r+   r,   r   r   r   r   r4   TABLEr   r-   r.   r
   r   )r    r   r   r5   r   r/   gridss   &&     r   find_all_gridsZ$AXUtilitiesCollection.find_all_grids  s     <I*G,@,@,B4$05++VT:!!"&'
--EQ,,T8!225?r   c                r[   r\   r]   r   r   r   r   r     sP      (()4/047 
e	r   c                sb   V f   . # \         P                  W4      pV'       g   . # R\        P                  ! 4       RV RV.p\        P
                  ! \        P                  VR4       . pV F'  pVP                  \         P                  V4      4       K)  	  Ve   \         P                  WA4       V# )z3Returns all descendants of root that are grid cellsr&   r'   r   T)
r
   r   r+   r,   r   r   r   Zextendfind_all_table_cellsr   )r    r   r   r   ZcellsZgrids   &&    r   find_all_grid_cellsZ)AXUtilitiesCollection.find_all_grid_cells  s     <I%44T@I*G,@,@,B4$05++VT:DLL.CCDIJ  !225?r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z6Returns all descendants of root with the grouping role)r   r4   ZGROUPINGr
   rB   r`   ra   r   find_all_groupingsZ(AXUtilitiesCollection.find_all_groupings  ru   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z4Returns all descendants of root with the header role)r   r4   ZHEADERr
   rB   r`   ra   r   find_all_headersZ&AXUtilitiesCollection.find_all_headers  rx   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )5Returns all descendants of root with the heading role)r   r4   HEADINGr
   rB   r`   ra   r   find_all_headingsZ'AXUtilitiesCollection.find_all_headings  rj   r   c          	      s   < V ^8  d   QhRS[ P                  RS[RS[S[ P                  .S[3,          R,          RS[S[ P                  ,          /# )r   r    levelr   Nr   )r   r   Zintr   r   r   r   r   r   r   r     sZ       (()4/047 
e		r   c                sf   V f   . # R\         P                  ! 4       RV RVRV.p\        P                  ! \        P                  VR4       \
        P                  P                  .pRV 2.p\        P                  ! WER7      p\        P                  ! W4      pVe   \        P                  Wr4      pV# )r   r&   r'   zLevel:r   Tzlevel:r   )r+   r,   r   r   r   r   r4   r   r   r-   r.   r
   r   )r    r   r   r   r5   r   r/   r   s   &&&     r   find_all_headings_at_levelZ0AXUtilitiesCollection.find_all_headings_at_level  s     <I*G,@,@,B45'4A5++VT:##$ug&'
--EQ..t:+<<WKGr   c                r[   r\   r]   r   r   r   r   r   
  r^   r   c                r_   )z<Returns all descendants of root with the html container role)r   r4   ZHTML_CONTAINERr
   rB   r`   ra   r   find_all_html_containersZ.AXUtilitiesCollection.find_all_html_containers	  r   r   c                r[   r\   r]   r   r   r   r   r     U     b bb(()4/047b 
e	br   c                    \         P                  P                  .p\         P                  P                  .p\
        P                  WW14      # )z>Returns all descendants of root that is a horizontal scrollbar)r   r4   
SCROLL_BARr#   
HORIZONTALr
   rO   r    r   r5   r)      &&  r   find_all_horizontal_scrollbarsZ4AXUtilitiesCollection.find_all_horizontal_scrollbars  s<     &&'//,,-$FFtTZaar   c                r[   r\   r]   r   r   r   r   r     r   r   c                r   )z>Returns all descendants of root that is a horizontal separator)r   r4   	SEPARATORr#   r   r
   rO   r   r   r   find_all_horizontal_separatorsZ4AXUtilitiesCollection.find_all_horizontal_separators  s<     %%&//,,-$FFtTZaar   c                r[   r\   r]   r   r   r   r   r   *  r   r   c                r   )z;Returns all descendants of root that is a horizontal slider)r   r4   SLIDERr#   r   r
   rO   r   r   r   find_all_horizontal_slidersZ1AXUtilitiesCollection.find_all_horizontal_sliders)  s<     ""#//,,-$FFtTZaar   c                r[   r\   r]   r   r   r   r   r   5  r^   r   c                r_   )z2Returns all descendants of root with the icon role)r   r4   ICONr
   rB   r`   ra   r   find_all_iconsZ$AXUtilitiesCollection.find_all_icons4  r   r   c                r[   r\   r]   r   r   r   r   r   ?  r^   r   c                rp   )z<Returns all descendants of root with the icon or canvas role)r   r4   r   rv   r
   rB   r`   ra   r   find_all_icons_and_canvasesZ1AXUtilitiesCollection.find_all_icons_and_canvases>  s3     %**"3"34$77TJJr   c                r[   r\   r]   r   r   r   r   r   I  r^   r   c                r_   )z3Returns all descendants of root with the image role)r   r4   IMAGEr
   rB   r`   ra   r   find_all_imagesZ%AXUtilitiesCollection.find_all_imagesH  re   r   c                r[   r\   r]   r   r   r   r   r   S  r^   r   c                rp   )z=Returns all descendants of root with the image or canvas role)r   r4   r   rv   r
   rB   r`   ra   r   find_all_images_and_canvasesZ2AXUtilitiesCollection.find_all_images_and_canvasesR  s5     !!5::#4#45$77TJJr   c                r[   r\   r]   r   r   r   r   r   ]  r^   r   c                rp   )z@Returns all descendants of root with the image or image map role)r   r4   r   	IMAGE_MAPr
   rB   r`   ra   r   find_all_images_and_image_mapsZ4AXUtilitiesCollection.find_all_images_and_image_maps\  s5     !!5::#7#78$77TJJr   c                r[   r\   r]   r   r   r   r   r   g  r^   r   c                r_   )z7Returns all descendants of root with the image map role)r   r4   r   r
   rB   r`   ra   r   find_all_image_mapsZ)AXUtilitiesCollection.find_all_image_mapsf  rg   r   c                r[   r\   r]   r   r   r   r   r   q  r^   r   c                r_   )z6Returns all descendants of root with the info bar role)r   r4   INFO_BARr
   rB   r`   ra   r   find_all_info_barsZ(AXUtilitiesCollection.find_all_info_barsp  ru   r   c                r[   r\   r]   r   r   r   r   r   {  r^   r   c                r_   )zAReturns all descendants of root with the input method window role)r   r4   ZINPUT_METHOD_WINDOWr
   rB   r`   ra   r   find_all_input_method_windowsZ3AXUtilitiesCollection.find_all_input_method_windowsz  )     //0$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z<Returns all descendants of root with the internal frame role)r   r4   ZINTERNAL_FRAMEr
   rB   r`   ra   r   find_all_internal_framesZ.AXUtilitiesCollection.find_all_internal_frames  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z3Returns all descendants of root with the label role)r   r4   LABELr
   rB   r`   ra   r   find_all_labelsZ%AXUtilitiesCollection.find_all_labels  re   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                rp   )z>Returns all descendants of root with the label or caption role)r   r4   r   ry   r
   rB   r`   ra   r   find_all_labels_and_captionsZ2AXUtilitiesCollection.find_all_labels_and_captions  s5     !!5::#5#56$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z6Returns all descendants of root with the landmark role)r   r4   ZLANDMARKr
   rB   r`   ra   r   find_all_landmarksZ(AXUtilitiesCollection.find_all_landmarks  ru   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r   )zBReturns all descendants of root that we consider a large container)r   Zget_large_container_rolesr
   rB   r`   ra   r   find_all_large_containersZ/AXUtilitiesCollection.find_all_large_containers  s%      99;$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z:Returns all descendants of root with the layered pane role)r   r4   ZLAYERED_PANEr
   rB   r`   ra   r   find_all_layered_panesZ,AXUtilitiesCollection.find_all_layered_panes  rm   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z7Returns all descendants of root with the level bar role)r   r4   Z	LEVEL_BARr
   rB   r`   ra   r   find_all_level_barsZ)AXUtilitiesCollection.find_all_level_bars  rg   r   c          	      r   r   r   r   r   r   r   r     r   r   c                s    \         P                  P                  .pV'       g   \        P	                  WV4      # \         P
                  P                  .p\        P                  WWB4      # )z2Returns all descendants of root with the link role)r   r4   LINKr
   rB   r#   r   rO   r   r   r   find_all_linksZ$AXUtilitiesCollection.find_all_links  sP     ! (;;DNN//++,$FFtTZaar   c                r[   r\   r]   r   r   r   r   r     sP      (()4/047 
e	r   c                sn   V f   . # R\         P                  ! 4       RV RV.p\        P                  ! \        P                  VR4       . p. ROpV F  pVP                  RV,           4       K  	  \        P                  ! VR7      p\        P                  ! W4      pVe   \        P                  Wq4      pV# )z5Returns all descendants of root that are live regionsr&   r'   r   Tzcontainer-live:)r   )ZoffZpoliteZ	assertive)r+   r,   r   r   r   r   r   r-   r.   r
   r   )r    r   r   r   Zlevelsr   r/   r      &&      r   find_all_live_regionsZ+AXUtilitiesCollection.find_all_live_regions  s     <I*G,@,@,B4$05++VT:
/E/%78  --D..t:+<<WKGr   c                   < V ^8  d   QhRS[ P                  RS[S[ P                  .S[3,          R,          RS[RS[RS[S[ P                  ,          /# )r   r    r   Ninclude_description_listsinclude_tab_listsr   r]   r   r   r   r   r     sk     K KK(()4/047K $(K  	K
 
e	Kr   c                (   \         P                  P                  .pV'       d*   VP                  \         P                  P                  4       V'       d*   VP                  \         P                  P
                  4       \        P                  WV4      # )z2Returns all descendants of root with the list role)r   r4   ZLISTr   r   PAGE_TAB_LISTr
   rB   )r    r   r  r  r5      &&&& r   find_all_listsZ$AXUtilitiesCollection.find_all_lists  sY     !$LL445LL112$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z6Returns all descendants of root with the list box role)r   r4   LIST_BOXr
   rB   r`   ra   r   find_all_list_boxesZ)AXUtilitiesCollection.find_all_list_boxes  ru   r   c                r  )r   r    r   Ninclude_description_termsinclude_tabsr   r]   r   r   r   r   r     sk     K KK(()4/047K $(K 	K
 
e	Kr   c                r	  )z7Returns all descendants of root with the list item role)r   r4   Z	LIST_ITEMr   r   PAGE_TABr
   rB   )r    r   r  r  r5   r  r   find_all_list_itemsZ)AXUtilitiesCollection.find_all_list_items  s[     %%&$LL445LL,,-$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z1Returns all descendants of root with the log role)r   r4   ZLOGr
   rB   r`   ra   r   find_all_logsZ#AXUtilitiesCollection.find_all_logs  s'      $77TJJr   c                r[   r\   r]   r   r   r   r   r   (  r^   r   c                r_   )z2Returns all descendants of root with the mark role)r   r4   ZMARKr
   rB   r`   ra   r   find_all_marksZ$AXUtilitiesCollection.find_all_marks'  r   r   c                r[   r\   r]   r   r   r   r   r   2  r^   r   c                r_   )z5Returns all descendants of root with the marquee role)r   r4   ZMARQUEEr
   rB   r`   ra   r   find_all_marqueesZ'AXUtilitiesCollection.find_all_marquees1  rj   r   c                r[   r\   r]   r   r   r   r   r   <  r^   r   c                r_   )z2Returns all descendants of root with the math role)r   r4   ZMATHr
   rB   r`   ra   r   find_all_mathsZ$AXUtilitiesCollection.find_all_maths;  r   r   c                r[   r\   r]   r   r   r   r   r   F  r^   r   c                r_   )z;Returns all descendants of root with the math fraction role)r   r4   ZMATH_FRACTIONr
   rB   r`   ra   r   find_all_math_fractionsZ-AXUtilitiesCollection.find_all_math_fractionsE  r   r   c                r[   r\   r]   r   r   r   r   r   P  r^   r   c                r_   )z7Returns all descendants of root with the math root role)r   r4   Z	MATH_ROOTr
   rB   r`   ra   r   find_all_math_rootsZ)AXUtilitiesCollection.find_all_math_rootsO  rg   r   c                r[   r\   r]   r   r   r   r   r   Z  r^   r   c                r_   )z2Returns all descendants of root with the menu role)r   r4   ZMENUr
   rB   r`   ra   r   find_all_menusZ$AXUtilitiesCollection.find_all_menusY  r   r   c                r[   r\   r]   r   r   r   r   r   d  r^   r   c                r_   )z5Returns all descendants of root with the menubar role)r   r4   ZMENU_BARr
   rB   r`   ra   r   find_all_menu_barsZ(AXUtilitiesCollection.find_all_menu_barsc  ru   r   c                r[   r\   r]   r   r   r   r   r   n  r^   r   c                r_   )z7Returns all descendants of root with the menu item role)r   r4   Z	MENU_ITEMr
   rB   r`   ra   r   find_all_menu_itemsZ)AXUtilitiesCollection.find_all_menu_itemsm  rg   r   c                r[   r\   r]   r   r   r   r   r   x  r^   r   c                r   )z;Returns all descendants of root that has any menu item role)r   Zget_menu_item_rolesr
   rB   r`   ra   r   find_all_menu_items_of_any_kindZ5AXUtilitiesCollection.find_all_menu_items_of_any_kindw  s%      335$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r   )z>Returns all descendants of root that has any menu-related role)r   Zget_menu_related_rolesr
   rB   r`   ra   r   find_all_menu_related_objectsZ3AXUtilitiesCollection.find_all_menu_related_objects  %      668$77TJJr   c                r[   r\   r]   r   r   r   r   r     r   r   c                s    \         P                  ! R4      p\        P                  P                  .p\
        P                  WW14      # )zMReturns all descendants of root with the alert or dialog role and modal stateT)r   r   r   r#   ZMODALr
   rO   r   r   r   find_all_modal_dialogsZ,AXUtilitiesCollection.find_all_modal_dialogs  s:      006//''($FFtTZaar   c                r[   r\   r]   r   r   r   r   r     r   r   c                r   zGReturns all descendants of root with the entry role and multiline state)r   r4   r   r#   Z
MULTI_LINEr
   rO   r   r   r   find_all_multi_line_entriesZ1AXUtilitiesCollection.find_all_multi_line_entries  s<     !!"//,,-$FFtTZaar   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z:Returns all descendants of root with the notification role)r   r4   ZNOTIFICATIONr
   rB   r`   ra   r   find_all_notificationsZ,AXUtilitiesCollection.find_all_notifications  rm   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z9Returns all descendants of root with the option pane role)r   r4   ZOPTION_PANEr
   rB   r`   ra   r   find_all_option_panesZ+AXUtilitiesCollection.find_all_option_panes  ro   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z2Returns all descendants of root with the page role)r   r4   ZPAGEr
   rB   r`   ra   r   find_all_pagesZ$AXUtilitiesCollection.find_all_pages  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z6Returns all descendants of root with the page tab role)r   r4   r  r
   rB   r`   ra   r   find_all_page_tabsZ(AXUtilitiesCollection.find_all_page_tabs  ru   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z;Returns all descendants of root with the page tab list role)r   r4   r
  r
   rB   r`   ra   r   find_all_page_tab_listsZ-AXUtilitiesCollection.find_all_page_tab_lists  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                rp   )zGReturns all descendants of root with the page tab or page tab list role)r   r4   r
  r  r
   rB   r`   ra   r   &find_all_page_tab_list_related_objectsZ<AXUtilitiesCollection.find_all_page_tab_list_related_objects  s5     ))5::+>+>?$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z3Returns all descendants of root with the panel role)r   r4   ZPANELr
   rB   r`   ra   r   find_all_panelsZ%AXUtilitiesCollection.find_all_panels  re   r   c          	      r   )r   r    treat_headings_as_paragraphsr   Nr   r   r   r   r   r   r     s`     
K 
K
K&*
K (()4/047
K 
e		
Kr   c                r   )z7Returns all descendants of root with the paragraph role)r   r4   Z	PARAGRAPHr   r   r
   rB   )r    r)  r   r5   r   r   find_all_paragraphsZ)AXUtilitiesCollection.find_all_paragraphs  sB     %%&'LL++,$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z;Returns all descendants of root with the password text role)r   r4   PASSWORD_TEXTr
   rB   r`   ra   r   find_all_password_textsZ-AXUtilitiesCollection.find_all_password_texts  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z8Returns all descendants of root with the popup menu role)r   r4   Z
POPUP_MENUr
   rB   r`   ra   r   find_all_popup_menusZ*AXUtilitiesCollection.find_all_popup_menus  r   r   c                r[   r\   r]   r   r   r   r   r   	  r^   r   c                r_   )z:Returns all descendants of root with the progress bar role)r   r4   ZPROGRESS_BARr
   rB   r`   ra   r   find_all_progress_barsZ,AXUtilitiesCollection.find_all_progress_bars  rm   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z9Returns all descendants of root with the push button role)r   r4   rq   r
   rB   r`   ra   r   find_all_push_buttonsZ+AXUtilitiesCollection.find_all_push_buttons  ro   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z>Returns all descendants of root with the push button menu role)r   r4   ZPUSH_BUTTON_MENUr
   rB   r`   ra   r   find_all_push_button_menusZ0AXUtilitiesCollection.find_all_push_button_menus  r   r   c                r[   r\   r]   r   r   r   r   r   '  r^   r   c                r_   )z:Returns all descendants of root with the radio button role)r   r4   ZRADIO_BUTTONr
   rB   r`   ra   r   find_all_radio_buttonsZ,AXUtilitiesCollection.find_all_radio_buttons&  rm   r   c                r[   r\   r]   r   r   r   r   r   1  r^   r   c                r_   )z=Returns all descendants of root with the radio menu item role)r   r4   ZRADIO_MENU_ITEMr
   rB   r`   ra   r   find_all_radio_menu_itemsZ/AXUtilitiesCollection.find_all_radio_menu_items0  r~   r   c                r[   r\   r]   r   r   r   r   r   ;  r^   r   c                r_   )z4Returns all descendants of root with the rating role)r   r4   ZRATINGr
   rB   r`   ra   r   find_all_ratingsZ&AXUtilitiesCollection.find_all_ratings:  rx   r   c                r[   r\   r]   r   r   r   r   r   E  r^   r   c                r_   )z7Returns all descendants of root with the root pane role)r   r4   Z	ROOT_PANEr
   rB   r`   ra   r   find_all_root_panesZ)AXUtilitiesCollection.find_all_root_panesD  rg   r   c                r[   r\   r]   r   r   r   r   r   O  r^   r   c                r_   )z8Returns all descendants of root with the row header role)r   r4   Z
ROW_HEADERr
   rB   r`   ra   r   find_all_row_headersZ*AXUtilitiesCollection.find_all_row_headersN  r   r   c                r[   r\   r]   r   r   r   r   r   Y  r^   r   c                r_   )z3Returns all descendants of root with the ruler role)r   r4   ZRULERr
   rB   r`   ra   r   find_all_rulersZ%AXUtilitiesCollection.find_all_rulersX  re   r   c                r[   r\   r]   r   r   r   r   r   c  r^   r   c                r_   )z7Returns all descendants of root with the scrollbar role)r   r4   r   r
   rB   r`   ra   r   find_all_scroll_barsZ*AXUtilitiesCollection.find_all_scroll_barsb  r   r   c                r[   r\   r]   r   r   r   r   r   m  r^   r   c                r_   )z9Returns all descendants of root with the scroll pane role)r   r4   SCROLL_PANEr
   rB   r`   ra   r   find_all_scroll_panesZ+AXUtilitiesCollection.find_all_scroll_panesl  ro   r   c                r[   r\   r]   r   r   r   r   r   w  r^   r   c                r_   )z5Returns all descendants of root with the section role)r   r4   ZSECTIONr
   rB   r`   ra   r   find_all_sectionsZ'AXUtilitiesCollection.find_all_sectionsv  rj   r   c                r[   r\   r]   r   r   r   r   r     r   r   c                r_   )z4Returns all descendants of root which are selectable)r   r#   Z
SELECTABLEr
   rW   r   ra   r   find_all_selectable_objectsZ1AXUtilitiesCollection.find_all_selectable_objects  s)     //,,-$99$MMr   c                r[   r\   r]   r   r   r   r   r     r   r   c                r_   )z2Returns all descendants of root which are selected)r   r#   ZSELECTEDr
   rW   r   ra   r   find_all_selected_objectsZ/AXUtilitiesCollection.find_all_selected_objects  s)     //**+$99$MMr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z7Returns all descendants of root with the separator role)r   r4   r   r
   rB   r`   ra   r   find_all_separatorsZ)AXUtilitiesCollection.find_all_separators  rg   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r   )z9Returns all descendants of root with a set container role)r   Zget_set_container_rolesr
   rB   r`   ra   r   find_all_set_containersZ-AXUtilitiesCollection.find_all_set_containers  s%      779$77TJJr   c                r[   r\   r]   r   r   r   r   r     r   r   c                r_   )z1Returns all descendants of root which are showing)r   r#   SHOWINGr
   rW   r   ra   r   find_all_showing_objectsZ.AXUtilitiesCollection.find_all_showing_objects  r   r   c                r[   r\   r]   r   r   r   r   r     r   r   c                rp   )z=Returns all descendants of root which are showing and visible)r   r#   r?  VISIBLEr
   rW   r   ra   r   $find_all_showing_and_visible_objectsZ:AXUtilitiesCollection.find_all_showing_and_visible_objects  s5     //))5??+B+BC$99$MMr   c                r[   r\   r]   r   r   r   r   r     sU     Q QQ(()4/047Q 
e	Qr   c                rp   )z<Returns all descendants of root which are showing or visible)r   r#   r?  rA  r
   rY   r   ra   r   #find_all_showing_or_visible_objectsZ9AXUtilitiesCollection.find_all_showing_or_visible_objects  s5     //))5??+B+BC$<<T4PPr   c                r[   r\   r]   r   r   r   r   r     r   r   c                r   r   )r   r4   r   r#   ZSINGLE_LINEr
   rO   r   r   r   find_all_single_line_entriesZ2AXUtilitiesCollection.find_all_single_line_entries  s<     !!"//--.$FFtTZaar   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z4Returns all descendants of root with the slider role)r   r4   r   r
   rB   r`   ra   r   find_all_slidersZ&AXUtilitiesCollection.find_all_sliders  rx   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z9Returns all descendants of root with the spin button role)r   r4   SPIN_BUTTONr
   rB   r`   ra   r   find_all_spin_buttonsZ+AXUtilitiesCollection.find_all_spin_buttons  ro   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z8Returns all descendants of root with the split pane role)r   r4   
SPLIT_PANEr
   rB   r`   ra   r   find_all_split_panesZ*AXUtilitiesCollection.find_all_split_panes  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z4Returns all descendants of root with the static role)r   r4   STATICr
   rB   r`   ra   r   find_all_staticsZ&AXUtilitiesCollection.find_all_statics  rx   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z7Returns all descendants of root with the statusbar role)r   r4   
STATUS_BARr
   rB   r`   ra   r   find_all_status_barsZ*AXUtilitiesCollection.find_all_status_bars  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z7Returns all descendants of root with the subscript role)r   r4   	SUBSCRIPTr
   rB   r`   ra   r   find_all_subscriptsZ)AXUtilitiesCollection.find_all_subscripts  rg   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                rp   )zFReturns all descendants of root with the subscript or superscript role)r   r4   rN  SUPERSCRIPTr
   rB   r`   ra   r   $find_all_subscripts_and_superscriptsZ:AXUtilitiesCollection.find_all_subscripts_and_superscripts  s5     %%uzz'='=>$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z8Returns all descendants of root with the suggestion role)r   r4   Z
SUGGESTIONr
   rB   r`   ra   r   find_all_suggestionsZ*AXUtilitiesCollection.find_all_suggestions  r   r   c                r[   r\   r]   r   r   r   r   r   "  r^   r   c                r_   )z9Returns all descendants of root with the superscript role)r   r4   rP  r
   rB   r`   ra   r   find_all_superscriptsZ+AXUtilitiesCollection.find_all_superscripts!  ro   r   c                r[   r\   r]   r   r   r   r   r   ,  U     V VV(()4/047V 
e	Vr   c                4    R.p\         P                  WV4      # )zBReturns all descendants of root which support the action interfacer   r
   r:   r    r   r8   ra   r   find_all_supports_actionZ.AXUtilitiesCollection.find_all_supports_action+  s     Z
$==dPTUUr   c                r[   r\   r]   r   r   r   r   r   6  rT  r   c                rU  )zDReturns all descendants of root which support the document interfaceZDocumentrV  rW  ra   r   find_all_supports_documentZ0AXUtilitiesCollection.find_all_supports_document5  s     !\
$==dPTUUr   c                r[   r\   r]   r   r   r   r   r   @  rT  r   c                rU  )zIReturns all descendants of root which support the editable text interfaceZEditableTextrV  rW  ra   r   find_all_supports_editable_textZ5AXUtilitiesCollection.find_all_supports_editable_text?  s      %%
$==dPTUUr   c                r[   r\   r]   r   r   r   r   r   J  rT  r   c                rU  )zEReturns all descendants of root which support the hypertext interfaceZ	HypertextrV  rW  ra   r   find_all_supports_hypertextZ1AXUtilitiesCollection.find_all_supports_hypertextI       "]
$==dPTUUr   c                r[   r\   r]   r   r   r   r   r   T  rT  r   c                rU  )zEReturns all descendants of root which support the hyperlink interfaceZ	HyperlinkrV  rW  ra   r   find_all_supports_hyperlinkZ1AXUtilitiesCollection.find_all_supports_hyperlinkS  r\  r   c                r[   r\   r]   r   r   r   r   r   ^  rT  r   c                rU  )zEReturns all descendants of root which support the selection interfaceZ	SelectionrV  rW  ra   r   find_all_supports_selectionZ1AXUtilitiesCollection.find_all_supports_selection]  r\  r   c                r[   r\   r]   r   r   r   r   r   h  rT  r   c                rU  )zAReturns all descendants of root which support the table interfaceZTablerV  rW  ra   r   find_all_supports_tableZ-AXUtilitiesCollection.find_all_supports_tableg       Y
$==dPTUUr   c                r[   r\   r]   r   r   r   r   r   r  rT  r   c                rU  )zFReturns all descendants of root which support the table cell interfaceZ	TableCellrV  rW  ra   r   find_all_supports_table_cellZ2AXUtilitiesCollection.find_all_supports_table_cellq  r\  r   c                r[   r\   r]   r   r   r   r   r   |  rT  r   c                rU  )z@Returns all descendants of root which support the text interfaceZTextrV  rW  ra   r   find_all_supports_textZ,AXUtilitiesCollection.find_all_supports_text{  s     X
$==dPTUUr   c                r[   r\   r]   r   r   r   r   r     rT  r   c                rU  )zAReturns all descendants of root which support the value interfaceZValuerV  rW  ra   r   find_all_supports_valueZ-AXUtilitiesCollection.find_all_supports_value  r`  r   c                r[   r\   r]   r   r   r   r   r     sP      (()4/047 
e	r   c                s   V f   . # R\         P                  ! 4       RV RV.p\        P                  ! \        P                  VR4       \
        P                  P                  .pR.p\
        P                  P                  p\        P                  ! VVVR7      p\        P                  ! W4      pVe   \        P                  Wq4       V# )z3Returns all descendants of root with the table roler&   r'   r   Tzlayout-guess:true)r5   r   r   )r+   r,   r   r   r   r   r4   r   r$   rC   r   r-   r.   r
   r   )r    r   r   r5   r   r   r/   Ztablesr  r   find_all_tablesZ%AXUtilitiesCollection.find_all_tables  s     <I*G,@,@,BGTSZ\`a5++VT:!!")*
$88==--!!57
 --d9!226@r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z8Returns all descendants of root with the table cell role)r   r4   Z
TABLE_CELLr
   rB   r`   ra   r   r   Z*AXUtilitiesCollection.find_all_table_cells  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r   )zLReturns all descendants of root with the table cell or a header-related role)r   Zget_table_cell_rolesr
   rB   r`   ra   r    find_all_table_cells_and_headersZ6AXUtilitiesCollection.find_all_table_cells_and_headers  s%      446$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )zAReturns all descendants of root with the table column header role)r   r4   ZTABLE_COLUMN_HEADERr
   rB   r`   ra   r   find_all_table_column_headersZ3AXUtilitiesCollection.find_all_table_column_headers  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r   )zDReturns all descendants of root that has a table header related role)r   Zget_table_header_rolesr
   rB   r`   ra   r   find_all_table_headersZ,AXUtilitiesCollection.find_all_table_headers  r  r   c          	      s   < V ^8  d   QhRS[ P                  RS[S[ P                  .S[3,          R,          RS[RS[S[ P                  ,          /# )r   r    r   Ninclude_captionr   r]   r   r   r   r   r     s`     K KK(()4/047K K 
e		Kr   c                sZ    \         P                  ! V4      p\        P                  WV4      # )z=Returns all descendants of root that has a table related role)r   Zget_table_related_rolesr
   rB   )r    r   rh  r5   r   r   find_all_table_related_objectsZ4AXUtilitiesCollection.find_all_table_related_objects  s'      77H$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z7Returns all descendants of root with the table row role)r   r4   Z	TABLE_ROWr
   rB   r`   ra   r   find_all_table_rowsZ)AXUtilitiesCollection.find_all_table_rows  rg   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z>Returns all descendants of root with the table row header role)r   r4   ZTABLE_ROW_HEADERr
   rB   r`   ra   r   find_all_table_row_headersZ0AXUtilitiesCollection.find_all_table_row_headers  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z?Returns all descendants of root with the tearoff menu item role)r   r4   ZTEAROFF_MENU_ITEMr
   rB   r`   ra   r   find_all_tearoff_menu_itemsZ1AXUtilitiesCollection.find_all_tearoff_menu_items  rc   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z6Returns all descendants of root with the terminal role)r   r4   ZTERMINALr
   rB   r`   ra   r   find_all_terminalsZ(AXUtilitiesCollection.find_all_terminals  ru   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z2Returns all descendants of root with the text role)r   r4   ZTEXTr
   rB   r`   ra   r   find_all_textsZ$AXUtilitiesCollection.find_all_texts  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                s    \         P                  P                  \         P                  P                  \         P                  P                  .p\
        P                  WV4      # )zOReturns all descendants of root that has any role associated with textual input)r   r4   r   r+  rF  r
   rB   r`   ra   r   find_all_text_inputsZ*AXUtilitiesCollection.find_all_text_inputs  sA     !!5::#;#;UZZ=S=ST$77TJJr   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z3Returns all descendants of root with the timer role)r   r4   ZTIMERr
   rB   r`   ra   r   find_all_timersZ%AXUtilitiesCollection.find_all_timers  re   r   c                r[   r\   r]   r   r   r   r   r   $  r^   r   c                r_   )z6Returns all descendants of root with the titlebar role)r   r4   Z	TITLE_BARr
   rB   r`   ra   r   find_all_title_barsZ)AXUtilitiesCollection.find_all_title_bars#  rg   r   c                r[   r\   r]   r   r   r   r   r   .  r^   r   c                r_   )z;Returns all descendants of root with the toggle button role)r   r4   rr   r
   rB   r`   ra   r   find_all_toggle_buttonsZ-AXUtilitiesCollection.find_all_toggle_buttons-  r   r   c                r[   r\   r]   r   r   r   r   r   8  r^   r   c                r_   )z5Returns all descendants of root with the toolbar role)r   r4   ZTOOL_BARr
   rB   r`   ra   r   find_all_tool_barsZ(AXUtilitiesCollection.find_all_tool_bars7  ru   r   c                r[   r\   r]   r   r   r   r   r   B  r^   r   c                r_   )z5Returns all descendants of root with the tooltip role)r   r4   ZTOOL_TIPr
   rB   r`   ra   r   find_all_tool_tipsZ(AXUtilitiesCollection.find_all_tool_tipsA  ru   r   c                r[   r\   r]   r   r   r   r   r   L  r^   r   c                r_   )z2Returns all descendants of root with the tree role)r   r4   TREEr
   rB   r`   ra   r   find_all_treesZ$AXUtilitiesCollection.find_all_treesK  r   r   c                r[   r\   r]   r   r   r   r   r   V  r^   r   c                rp   )z@Returns all descendants of root with the tree or tree table role)r   r4   ru  
TREE_TABLEr
   rB   r`   ra   r   find_all_trees_and_tree_tablesZ4AXUtilitiesCollection.find_all_trees_and_tree_tablesU  s3     %**"7"78$77TJJr   c                r[   r\   r]   r   r   r   r   r   `  r^   r   c                r   )z<Returns all descendants of root that has a tree related role)r   Zget_tree_related_rolesr
   rB   r`   ra   r   find_all_tree_related_objectsZ3AXUtilitiesCollection.find_all_tree_related_objects_  r  r   c                r[   r\   r]   r   r   r   r   r   j  r^   r   c                r_   )z7Returns all descendants of root with the tree item role)r   r4   Z	TREE_ITEMr
   rB   r`   ra   r   find_all_tree_itemsZ)AXUtilitiesCollection.find_all_tree_itemsi  rg   r   c                r[   r\   r]   r   r   r   r   r   t  r^   r   c                r_   )z8Returns all descendants of root with the tree table role)r   r4   rw  r
   rB   r`   ra   r   find_all_tree_tablesZ*AXUtilitiesCollection.find_all_tree_tabless  r   r   c          	      r   )r   r    must_be_showingr   Nr   r   r   r   r   r   r   ~  sZ       (()4/047 
e		r   c                s  a V3R lp\         P                  P                  \         P                  P                  .pV'       g   \        P                  WV4      pV# \         P                  P                  .p\        P                  WWc4      pV# )zLReturns all the descendants of root that have a label role, but no relationsc                 s\   < \         P                  ! V 4      '       g   R # Se	   S! V 4      # R# )FT)r   Zobject_is_unrelated)r   r   s   &r   _predZ>AXUtilitiesCollection.find_all_unrelated_labels.<locals>._pred  s*    &::3??Cy r   )	r   r4   r   rJ  r
   rB   r#   r?  rO   )r    r|  r   r}  r5   r   r)   s   &&f    r   find_all_unrelated_labelsZ/AXUtilitiesCollection.find_all_unrelated_labels}  st    	 !!5::#4#45+>>tERG 	 oo--.F+MMV,G r   c          	      r   r   r   r   r   r   r   r     sZ       (()4/047 
e		r   c                s    \         P                  P                  .p\         P                  P                  .p\
        P                  WWB4      pV'       d$   \        \        \        P                  V4      4      pV# )zPReturns all descendants of root with the link role and without the visited state)r   r4   r  r#   VISITEDr
   rR   r   r   r	   Zis_focusable)r    r   r   r5   r)   r   r9   r   find_all_unvisited_linksZ.AXUtilitiesCollection.find_all_unvisited_links  sY     !//))*&HHV\c&!1!>!>GHFr   c                r[   r\   r]   r   r   r   r   r     r   r   c                r   )z<Returns all descendants of root that is a vertical scrollbar)r   r4   r   r#   VERTICALr
   rO   r   r   r   find_all_vertical_scrollbarsZ2AXUtilitiesCollection.find_all_vertical_scrollbars  s<     &&'//**+$FFtTZaar   c                r[   r\   r]   r   r   r   r   r     r   r   c                r   )z<Returns all descendants of root that is a vertical separator)r   r4   r   r#   r  r
   rO   r   r   r   find_all_vertical_separatorsZ2AXUtilitiesCollection.find_all_vertical_separators  s<     %%&//**+$FFtTZaar   c                r[   r\   r]   r   r   r   r   r     r   r   c                r   )z9Returns all descendants of root that is a vertical slider)r   r4   r   r#   r  r
   rO   r   r   r   find_all_vertical_slidersZ/AXUtilitiesCollection.find_all_vertical_sliders  s<     ""#//**+$FFtTZaar   c                r[   r\   r]   r   r   r   r   r     r   r   c                r_   )z1Returns all descendants of root which are visible)r   r#   rA  r
   rW   r   ra   r   find_all_visible_objectsZ.AXUtilitiesCollection.find_all_visible_objects  r   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z3Returns all descendants of root with the video role)r   r4   ZVIDEOr
   rB   r`   ra   r   find_all_videosZ%AXUtilitiesCollection.find_all_videos  re   r   c                r[   r\   r]   r   r   r   r   r     r^   r   c                r_   )z6Returns all descendants of root with the viewport role)r   r4   ZVIEWPORTr
   rB   r`   ra   r   find_all_viewportsZ(AXUtilitiesCollection.find_all_viewports  ru   r   c          	      r   r   r   r   r   r   r   r     s`     b bbb (()4/047b 
e		br   c                s    \         P                  P                  .p\         P                  P                  .pV'       d*   VP                  \         P                  P                  4       \        P                  WWB4      # )zQReturns all descendants of root with the link role and focused and visited states)	r   r4   r  r#   r  r   r   r
   rO   r   r   r   find_all_visited_linksZ,AXUtilitiesCollection.find_all_visited_links  sS     !//))*MM%//334$FFtTZaar   c                \   < V ^8  d   QhRS[ P                  RS[ P                  R,          /# r   r    r   Nr   r   r   r   r   r   r     s,     8 8%"2"2 8u7G7G$7N 8r   c                s    \         P                  P                  .p\         P                  P                  .p\
        P                  ! WR7      p\
        P                  ! W4      # )z&Returns the default button inside rootr5   r)   )r   r4   rq   r#   Z
IS_DEFAULTr   r-   get_first_matchr    r5   r)   r/      &   r   find_default_buttonZ)AXUtilitiesCollection.find_default_button  sI     ''(//,,---EI++D77r   c                r  r  r  r   r   r   r   r     s,     8 8%"2"2 8u7G7G$7N 8r   c                s    \         P                  P                  .p\        P                  ! VR7      p\        P
                  ! W4      # )z&Returns the focused object inside rootr)   )r   r#   r   r   r-   r  r    r)   r/      &  r   find_focused_objectZ)AXUtilitiesCollection.find_focused_object  s7     //))*--V<++D77r   c                r  r  r  r   r   r   r   r   	  s,     8 8E,, 81A1AD1H 8r   c                    \         P                  P                  .p\         P                  P                  \         P                  P
                  .p\        P                  ! WR7      p\        P                  ! W4      # )z Returns the info bar inside rootr  )	r   r4   r   r#   r?  rA  r   r-   r  r  r  r   find_info_barZ#AXUtilitiesCollection.find_info_bar	  sU     $$%//))5??+B+BC--EI++D77r   c                r  r  r  r   r   r   r   r   	  s,     8 8e.. 853C3Cd3J 8r   c                r  )z"Returns the status bar inside rootr  )	r   r4   rL  r#   r?  rA  r   r-   r  r  r  r   find_status_barZ%AXUtilitiesCollection.find_status_bar	  sU     &&'//))5??+B+BC--EI++D77r   c                :   < V ^8  d   QhRS[ P                  RS[/# r   r    r   r   r   r   r   r   r   r   r   	  s!     > >(8(8 >T >r   c                >   \         P                  P                  \         P                  P                  .p\         P                  P
                  \         P                  P                  .p\        P                  ! WR7      p\        \        P                  ! W4      4      # )zJReturns True if there's a showing, visible combobox or listbox inside rootr  )r   r4   r   r  r#   r?  rA  r   r-   r   r  r  r  r   has_combo_box_or_list_boxZ/AXUtilitiesCollection.has_combo_box_or_list_box	  sf     %%uzz':':;//))5??+B+BC--EIL00<==r   c                r  r  r  r   r   r   r   r   	  s!     > >%"2"2 >t >r   c                s   \         P                  P                  \         P                  P                  \         P                  P                  .p\
        P                  ! VR7      p\        \
        P                  ! W4      4      # )zGReturns True if there's a showing, visible, editable object inside rootr  )	r   r#   r?  rA  r   r   r-   r   r  r  r  r   has_editable_objectZ)AXUtilitiesCollection.has_editable_object	  sT     //))5??+B+BEOOD\D\]--V<L00<==r   c                r  r  r  r   r   r   r   r   '	  s!     > >e.. >4 >r   c                   \         P                  P                  .p\         P                  P                  \         P                  P
                  .p\        P                  ! WR7      p\        \        P                  ! W4      4      # )zBReturns True if there's a showing, visible scroll pane inside rootr  )
r   r4   r8  r#   r?  rA  r   r-   r   r  r  r  r   has_scroll_paneZ%AXUtilitiesCollection.has_scroll_pane&	  sZ     ''(//))5??+B+BC--EIL00<==r   c                r  r  r  r   r   r   r   r   0	  s!     > >U-- >$ >r   c                r  )zAReturns True if there's a showing, visible split pane inside rootr  )
r   r4   rH  r#   r?  rA  r   r-   r   r  r  r  r   has_split_paneZ$AXUtilitiesCollection.has_split_pane/	  sZ     &&'//))5??+B+BC--EIL00<==r   c                r  r  r  r   r   r   r   r   9	  s!     > >U%5%5 >$ >r   c                r  )zIReturns True if there's a showing, visible tree or tree table inside rootr  )r   r4   ru  rw  r#   r?  rA  r   r-   r   r  r  r  r   has_tree_or_tree_tableZ,AXUtilitiesCollection.has_tree_or_tree_table8	  sd     %**"7"78//))5??+B+BC--EIL00<==r    )N)TN)NFF)FN)NF)Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__Zstaticmethodr   r1   r6   r:   rB   rD   rO   rQ   rR   rW   rY   rZ   rb   rd   rf   rh   ri   rk   rl   rn   rs   rt   rw   rz   r{   r|   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r!  r"  r#  r$  r%  r&  r'  r(  r*  r,  r-  r.  r/  r0  r1  r2  r3  r4  r5  r6  r7  r9  r:  r;  r<  r=  r>  r@  rB  rC  rD  rE  rG  rI  rK  rM  rO  rQ  rR  rS  rX  rY  rZ  r[  r]  r^  r_  ra  rb  rc  rd  r   re  rf  rg  ri  rj  rk  rl  rm  rn  ro  rp  rq  rr  rs  rt  rv  rx  ry  rz  r{  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  Z__static_attributes__Z__classdictcell__)r   s   @r   r
   r
   2   s    I     *   *   , B B B C C C   2   2   2 C C C C C C D D D K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K ( ( (T K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K 
N 
N 
N K K K K K K K K K K K K K K K K K K N N N $ $ $L N N N K K K K K K K K K K K K K K K b b b K K K K K K   ,   4 K K K K K K K K K   , K K K b b b b b b b b b K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K b b b   2 K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K b b b b b b K K K K K K K K K K K K K K K K K K K K K 
K 
K 
K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K N N N N N N K K K K K K N N N N N N Q Q Q b b b K K K K K K K K K K K K K K K K K K K K K K K K K K K V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V   4 K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K   0    b b b b b b b b b N N N K K K K K K b b b 8 8 8 8 8 8 8 8 8 8 8 8 > > > > > > > > > > > > > > >r   r
   )r  Z__id__Z__version__Z__date__Z__copyright__Z__license__r+   r   Ztypingr   ZgiZrequire_versionZgi.repositoryr   Z r   Zax_collectionr   Z	ax_objectr   Zax_utilities_debuggingr   Zax_utilities_relationr   Zax_utilities_roler   Zax_utilities_stater	   r
   r  r   r   <module>r     sd   2 F1    	   7E "   '  8 6 . 0M$> M$>r   